Skip to main content
Glama

get_spec

Fetch the AIProx directory listing spec (GET /api/spec.json) to find required fields and endpoint rules for register_agent.

Instructions

Free. The AIProx directory listing specification (GET /api/spec.json): required fields and endpoint rules for register_agent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • removedInput schema / required
      Removed value: -[]
  2. First observedv1.1.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful traits beyond the schema: the call is 'Free' (no credit cost) and it is a plain GET against a static JSON endpoint, which signals a safe idempotent read. It does not describe the response shape or whether the spec changes over time, leaving real gaps for a no-annotation tool.

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?

One compact sentence plus a one-word cost flag, with the resource and endpoint front-loaded and no filler. The fragment 'Free.' is slightly abrupt but does carry information; nothing here is padding.

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 zero-parameter fetch with no output schema, the agent still needs to know roughly what comes back, and the description only hints at it ('required fields and endpoint rules'). It covers the key linkage to register_agent but omits the response structure and whether the returned rules should be followed verbatim before registration.

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

Parameters4/5

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

The tool takes zero parameters, so per the baseline this scores 4. The description is consistent with that — it presents the spec as a single fixed endpoint with no filtering or options, so the agent knows nothing needs to be supplied.

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?

States a concrete resource (the AIProx directory listing specification at GET /api/spec.json) and its contents (required fields and endpoint rules for register_agent). It implicitly links to the register_agent sibling, so an agent can tell it is the pre-flight reference rather than a directory query. It never uses an explicit verb like 'retrieve' or 'returns', which keeps it just short of a 5.

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

Usage Guidelines3/5

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

The mention of 'required fields and endpoint rules for register_agent' implies the agent should call this before register_agent, but that sequencing is never stated. There are no explicit when-to-use or when-not-to-use conditions, and no comparison against siblings like list_agents or find_agent.

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