Skip to main content
Glama

NIH NCATS SmartAPI Biomedical Metadata Registry MCP

Get SmartAPI specification by ID

get_smartapi_spec_by_id
Read-onlyIdempotent

Retrieve structured OpenAPI metadata, servers, license, Translator annotations, and endpoint paths by SmartAPI 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": {
      "api_id": "<api_id>"
    },
    "name": "get_smartapi_spec_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_idYesSmartAPI metadata document ID (e.g. "e51073371d7049b9643e1edbdd61bcbd").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value by enumerating what the response contains, which matters since there is no output schema, but it says nothing about behavior for invalid/unknown IDs, response size, or whether the spec is fetched live from a registry.

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?

A single front-loaded sentence with no filler; the enumerated content list is dense but useful. It could be tightened slightly, but every clause maps to something the agent gets back.

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 tool with rich annotations and no output schema, the description covers the essential unknown (what the returned document contains). Only error/edge-case behavior for a bad ID is left unaddressed, which is a minor gap at this complexity.

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?

There is a single parameter with 100% schema description coverage, including a concrete example ID format, so the schema carries the semantics. The description only restates that lookup is keyed by SmartAPI ID and adds no format or validation detail beyond the schema.

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 gives a specific verb (Retrieve) and resource (SmartAPI specification) and enumerates the payload contents: OpenAPI metadata, servers, license, Translator annotations, endpoint paths. The 'by SmartAPI ID' phrasing implicitly separates it from the list_/search_ siblings, but no sibling is named explicitly.

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 only implied: the agent must already hold a SmartAPI ID to call this, which distinguishes it from the search/list siblings in practice. There is no explicit statement of when to prefer this over search_smartapi_biomedical_apis or list_smartapi_by_tag, and no guidance on failure when an ID is unknown.

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.