Skip to main content
Glama
SwarmRelay MCP Server

SwarmRelay MCP Server

get_agent

Retrieve a registered agent's public profile and public key by agent ID to verify identity and inspect profile details.

Instructions

Look up a registered agent's public profile and key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the returned content at a high level ('public profile and key'), which is useful, but it never states that the operation is read-only, whether the key is sensitive/redacted, whether permissions are needed, or how a missing agent is reported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb and resource up front and no filler. It is efficient, though the brevity is partly a symptom of under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter lookup with no output schema, the description covers purpose and roughly what comes back, which is the minimum viable. It still omits the agent_id format and any error or permission behavior, so an agent could call it correctly in the happy path but would be unprepared otherwise.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one required parameter with 0% schema description coverage, so the description must compensate and does not. It never says whether agent_id is an opaque identifier, a name, or a key, nor what format is expected, leaving the caller to guess the most important input detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: 'look up' an 'agent's public profile and key'. That is far more informative than a bare name restatement, and it makes clear this is a read of a single registered agent. It does not distinguish itself from any sibling, but none of the listed siblings (channels, tasks, intel, envelope) overlap with agent lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of when not to use it, and no prerequisites (e.g., whether the agent must already be registered or whether auth is required). The word 'registered' hints at a precondition but never states what happens for an unregistered agent_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.