Skip to main content
Glama

Describe a data API endpoint

data_api_endpoint
Read-only

Describes a data API endpoint's inputs, examples, paging and unit quirks, plus required credentials, so callers can prepare a correct request before calling the API.

Instructions

Describe one data API endpoint: every input with where it goes and an example, the notes a caller gets wrong without (units, paging, quirks), and the credentials it needs. Read it before 'call_data_api'.

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": {
      "endpoint": "<endpoint>"
    },
    "name": "data_api_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointYesThe endpoint id, '<vendor>.<job>', as 'vendors' lists it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine value by naming the content of the response (input routing, examples, units/paging quirks, credentials) rather than just saying 'describe'. It does not state what happens with an unknown or invalid endpoint id, which is the main behavioral gap.

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

Conciseness5/5

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

A single front-loaded sentence with no filler; the 'read before call_data_api' instruction lands last where it acts as the call-to-action. Every clause carries content (inputs, pitfalls, credentials).

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?

No output schema exists, and the description compensates by describing what the returned documentation covers, which is the right thing to do for a docs-lookup tool. It stops short of covering error behavior for an unrecognized endpoint id, so it is strong but not fully exhaustive.

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?

Only one parameter and schema coverage is 100%; the schema already spells out the '<vendor>.<job>' format and points at 'vendors'. The description adds no format, syntax, or discovery detail beyond that, so the baseline 3 applies.

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 ('Describe one data API endpoint') and enumerates exactly what the description returns: each input with destination and example, caller pitfalls (units, paging, quirks), and required credentials. It also names the sibling it precedes, so an agent can separate it from call_data_api without opening either schema.

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?

Gives an explicit sequencing rule: 'Read it before call_data_api.' That is a clear precondition tied to the correct alternative, leaving no ambiguity about which tool to reach for first. No misleading exclusions.

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