Skip to main content
Glama

APIStead

Get one API listing

get_api
Read-only

Fetch one listing by slug or id. Returns the provider, routes, prices, networks, verification state, reliability and agent links. Read this before paying.

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

Input Schema

NameRequiredDescriptionDefault
id_or_slugYesListing slug or id, e.g. 'us-zip-code-api'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this a safe, closed-world read, and the description adds the useful detail of what is returned (provider, routes, prices, networks, verification state, reliability, agent links). It says nothing about not-found or invalid-slug behavior, case sensitivity, or whether the payload is cached — gaps that matter for a lookup tool with no output schema.

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?

Three short sentences with no redundant wording, front-loaded with the verb and lookup key. 'Read this before paying' is slightly cryptic out of context, which keeps it from a 5.

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?

For a one-parameter read with annotations covering safety and no output schema, the description does the needed work by enumerating returned fields and stating the pre-payment use case. Only error/edge-case behavior 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?

Schema coverage is 100%, with the parameter already documented and exemplified ('us-zip-code-api'). The description's 'by slug or id' confirms either identifier form is accepted, but adds no format, prefix, or precedence rules beyond the schema — baseline 3.

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 ('Fetch one listing') and scopes it with the lookup key ('by slug or id'), which clearly separates it from list_apis and search_apis. The follow-on sentence enumerates the payload, so an agent knows exactly what single-record retrieval yields.

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 'Read this before paying' supplies a concrete usage condition tied to the listing's verification/reliability fields. It gives clear context but names no alternative tools and no when-not-to-use case.

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.

Resources