Skip to main content
Glama
agentapigate-mcp

agentapigate-mcp

by agentapigate

Get Endpoint Schema & Sample Params

get_endpoint_schema
Read-onlyIdempotent

Retrieve the JSON input schema, USD price per call, and sample parameters for a specific endpoint ID so you can validate inputs and estimate costs before invoking an API.

Instructions

Retrieve the JSON input schema, USD price per call, and sample parameters for a specific endpoint_id.

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_id": "<endpoint_id>"
    },
    "name": "get_endpoint_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpoint_idYesCanonical endpoint ID returned by search_endpoints, e.g. "youtube.video.transcript" or "search.google.web".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and non-destructive behavior, so the description's added value is its disclosure of what is returned: the JSON input schema, the USD price per call, and sample parameters. With no output schema present, this return-content disclosure is meaningful. It does not cover error behavior for unknown endpoint_ids or whether the lookup itself is billed, which keeps it below a 5.

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 verb, the three returned artifacts, and the scoping parameter all appear immediately.

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 lookup with rich annotations and no output schema, the description covers the essential question of what the agent gets back. It is nearly complete, missing only edge-case behavior such as unknown IDs or whether schema retrieval is free.

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 description coverage is 100%, and the endpoint_id property already documents the canonical ID format with examples. The description only restates that a specific endpoint_id is needed, adding no format or validation detail beyond the schema, so the baseline of 3 is appropriate.

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 states a specific verb (retrieve) and three concrete resources (JSON input schema, USD price per call, sample parameters) scoped to a specific endpoint_id. It is clearly distinguishable from call_endpoint or search_endpoints, though it does not explicitly name or contrast those siblings.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The only contextual hint is that the endpoint_id must be 'specific', and the requirement to obtain the ID from search_endpoints appears in the input schema rather than the description. An agent must infer that this is a pre-call inspection step.

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