Skip to main content
Glama
Agent Tools (x402 + MCP + A2A directory)

Agent Tools (x402 + MCP + A2A directory)

Official

Get MCP server details

get_mcp_server
Read-onlyIdempotent

Retrieves the full record for an MCP server by slug—including endpoint, transport, auth, tools, health, latency, safety, and quality—so you can decide whether and how to connect.

Instructions

Get the full record of one MCP server by its slug.

Use after search_mcp_servers (or a search_all result with protocol "mcp") to decide whether and how to connect. Read-only.

Args: slug: MCP server slug from a search result.

Returns: endpoint_url, transport, auth_method, tools (names and schemas seen by our probe), health, latency_ms, conformance, safety_verdict/safety_reasons, quality, readiness_grade, license and source repository. A retired listing returns {"error": "retired", "status": 410}.

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": {
      "slug": "<slug>"
    },
    "name": "get_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the repeated 'Read-only' line adds nothing. However, the description discloses a genuinely non-obvious failure mode — a retired listing returning {"error": "retired", "status": 410} — which the annotations cannot express.

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

Conciseness3/5

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

The opening sentence is well front-loaded, but the Returns block enumerates roughly a dozen fields that an output schema already exists to convey, which is padding relative to the value added. The Args section is proportionate.

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

Completeness4/5

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

With an output schema present, the field enumeration is redundant rather than necessary, but the definition still covers the lookup key, the workflow predecessor, and the retired/410 edge case. An agent has everything needed to call it correctly, aside from slug formatting.

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

Parameters3/5

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

Schema coverage is 0%, so the description must carry the meaning of the single parameter, and it does partially: it identifies slug as coming 'from a search result', which clarifies provenance. It does not describe the slug format or what an invalid slug does, so it only partially compensates for the coverage gap.

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

Purpose5/5

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

States a specific verb and resource ('Get the full record of one MCP server') plus the lookup key ('by its slug'), which cleanly separates it from search_mcp_servers and search_all in the sibling list.

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

Usage Guidelines5/5

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

Explicitly anchors usage to a preceding search ('Use after search_mcp_servers (or a search_all result with protocol "mcp")') and gives the intent ('to decide whether and how to connect'), which tells the agent both when to call it and what the output is for.

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