Skip to main content
Glama

Show a catalog API

get_api
Read-onlyIdempotent

Everything about one catalog API (api_id as find_api returns it): the site, what it covers and its limitations, its health and how it has run lately, how it is charged, and per endpoint its output fields, inputs, a few saved sample records (saved when the API was accepted, not a live run) and run_with, the run_api call that runs it. Nothing runs and nothing is charged.

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": {
      "api_id": "<api_id>"
    },
    "name": "get_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_idYesFrom find_api.

Output Schema

NameRequiredDescriptionDefault
nameYes
siteYes
api_idYes
healthNo
billingNo
endpointsYes
reliabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description adds genuinely non-obvious context beyond them: sample records were captured at acceptance time rather than being a live run, and no execution or billing occurs — exactly the facts an agent would otherwise misread.

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?

It is a single long, heavily nested sentence, which slightly hurts scannability, but the contents are front-loaded (what it returns) followed by the payoff clauses (samples are stale, nothing runs, nothing is charged). Almost every clause carries distinct information.

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

Completeness5/5

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

For a one-parameter read tool with a full output schema and rich annotations, the description covers scope, the meaning of embedded samples, and the side-effect profile. Nothing an agent needs to call it correctly or interpret results is missing.

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?

With one parameter at 100% schema coverage, the schema already documents api_id and its origin ("From find_api."). The description restates that provenance but adds no format or sourcing detail the schema lacks, so this is the baseline case rather than added value.

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 ("Everything about one catalog API") and immediately disambiguates from siblings by anchoring api_id to find_api's return value and by noting nothing runs, which separates it from run_api. An agent can tell what it gets without opening the schema.

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

Usage Guidelines4/5

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

The phrase "api_id as find_api returns it" plus the reference to run_with as "the run_api call that runs it" effectively describes the lookup-then-run workflow, implying this tool is the inspection step between find_api and run_api. It stops short of an explicit when-not-to-use exclusion, so it is clear context rather than full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.