Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
a2a_send_messageA

Send a message to an Agent-to-Agent (A2A) protocol compliant agent.

This tool establishes communication with an A2A agent and sends a text message. The agent may respond immediately with a message or return a task object for asynchronous processing.

Args:

  • agentCardUrl (string): URL to the agent's card endpoint, typically at /.well-known/agent-card.json

  • message (string): The text message to send to the agent (1-10,000 characters)

  • taskId (string, optional): Existing task ID to continue a conversation thread. If provided, the message is sent as a follow-up to the specified task.

Returns: JSON response containing either:

  • A message object with the agent's immediate response

  • A task object for asynchronous operations, containing:

    • id: Task identifier

    • status: Current task state and progress

    • artifacts: Any generated outputs or results

    • kind: Response type ("message" or "task")

The response may include multiple parts (text, images, etc.) depending on the agent's capabilities.

Examples:

Error Handling:

  • Returns "Error: Failed to connect to agent" if the agent URL is unreachable

  • Returns "Error: Invalid agent card" if the card endpoint doesn't return valid A2A metadata

  • Returns "Error: Message sending failed" if the agent rejects the message

  • If a task is returned, use a2a_get_task to poll for completion status

a2a_get_taskA

Retrieve the status and details of an A2A task by its ID.

This tool fetches information about a previously created task, including its current status, progress, and any generated artifacts.

Args:

  • agentCardUrl (string): URL to the agent's card endpoint

  • taskId (string): The unique identifier of the task to retrieve

Returns: JSON response containing task information:

  • id: Task identifier

  • status: Object with state ("submitted", "in_progress", "completed", "failed", "canceled") and optional progress information

  • artifacts: Array of generated outputs, each with:

    • artifactId: Unique identifier

    • name: Artifact name/title

    • kind: Type of artifact (e.g., "text", "image", "file")

    • parts: Artifact content

  • messages: Conversation history associated with the task

  • created: Task creation timestamp

  • updated: Last update timestamp

Examples:

Error Handling:

  • Returns "Error: Task not found" if the task ID doesn't exist

  • Returns "Error: Failed to connect to agent" if the agent is unreachable

  • Task status will indicate "failed" if the task encountered errors during execution

a2a_cancel_taskA

Cancel a running A2A task.

This tool requests cancellation of an active task. The agent will attempt to gracefully stop the task execution and update its status to "canceled".

Args:

  • agentCardUrl (string): URL to the agent's card endpoint

  • taskId (string): The unique identifier of the task to cancel

Returns: JSON response confirming the cancellation request:

  • success: Boolean indicating if cancellation was initiated

  • message: Description of the cancellation result

  • task: Updated task object with "canceled" status (if available)

Note: Cancellation may not be immediate. The task status should transition to "canceled" once the agent completes the cancellation process.

Examples:

Error Handling:

  • Returns "Error: Task not found" if the task ID doesn't exist

  • Returns "Error: Task already completed" if the task is no longer running

  • Returns "Error: Cancellation not supported" if the agent doesn't support task cancellation

  • After cancellation, use a2a_get_task to verify the task status changed to "canceled"

a2a_get_agent_cardA

Retrieve an agent's card containing metadata and capability information.

This tool fetches the agent card which describes what the agent can do, its configuration, supported features, and other metadata.

Args:

  • agentCardUrl (string): URL to the agent's card endpoint, typically at /.well-known/agent-card.json

Returns: JSON response containing the agent card with:

  • name: Agent name

  • description: Agent purpose and capabilities

  • version: Agent version

  • skills: Array of skills/capabilities the agent provides

  • endpoints: Available API endpoints

  • supportedFeatures: List of A2A protocol features supported

  • metadata: Additional agent information

Agent cards follow the A2A protocol specification and help clients understand how to interact with the agent.

Examples:

Error Handling:

  • Returns "Error: Failed to fetch agent card" if the URL is unreachable

  • Returns "Error: Invalid agent card format" if the card doesn't conform to A2A specifications

  • Returns "Error: Agent card not found" if the endpoint returns 404

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ericabouaf/a2a-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server