Skip to main content
Glama

Read model docs

get_endpoint_docs
Read-only

search the catalogue by name or id and fetch the usage docs of the best match. multi-word queries work (e.g. "luma ray 2"): every word must appear in the id, title, category or description. also returns other matches and flags unpriced endpoints, which are rejected at submit.

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": {
      "query": "<query>"
    },
    "name": "get_endpoint_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesendpoint id (e.g. "fal-ai/flux-2") or search words (e.g. "luma ray 2", "video")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world safety profile, so the bar is lower. The description still adds real behavior: it returns the best match plus other matches, and it flags unpriced endpoints that will be rejected at submit — a consequence an agent could not get from annotations or 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 compact sentences, front-loaded with the action, followed by matching semantics and the unpriced-endpoint caveat. Every clause carries information; only the slightly run-on final sentence keeps it short of 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 single-parameter, annotation-covered read tool with no output schema, the description supplies matching rules, return content (best match docs plus other matches), and the unpriced-submit caveat. Details like the exact doc format or ordering of other matches are omitted but are not essential to call it correctly.

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

Parameters5/5

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

Schema coverage is 100%, so a baseline of 3 would apply, but the description goes beyond it by explaining multi-word query semantics: every word must appear in the id, title, category, or description, with a concrete example ('luma ray 2'). That matching rule is not present in the schema and materially changes how an agent should form the query.

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?

The description names a specific verb and resource: search the catalogue by name or id, then fetch the usage docs of the best match. The phrase 'usage docs' implicitly separates it from get_endpoint_schema, but no sibling is named explicitly, so the agent must infer the docs-versus-schema split.

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?

Usage is implied through the matching rules and the warning that unpriced endpoints are rejected at submit, which helps an agent decide whether to rely on the result. However, there is no explicit statement of when to prefer this over get_endpoint_schema, run_endpoint, or list_endpoints.

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