Skip to main content
Glama

apihub_get_service

Read-only. Get full details for a specific API service: endpoints with schemas, pricing and ready-to-use proxy URLs, plus quality data. Services with many endpoints (25 or more, organised into groups) return a list of endpoint groups instead of every endpoint; call again with group set to one of those names to get that group's endpoints. Does not call any upstream API or debit credits.

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": {
      "service_slug": "<service_slug>"
    },
    "name": "apihub_get_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoOptional endpoint group name from endpoint_groups (case-insensitive), e.g. 'Match'. Returns only that group's endpoints. Use 'all' to force every endpoint of a large service.
service_slugYesThe service slug (e.g., 'exchange-rates')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / group
      Added value: +{
      +  "description": "Optional endpoint group name from endpoint_groups (case-insensitive), e.g. 'Match'. Returns only that group's endpoints. Use 'all' to force every endpoint of a large service.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares read-only, states there is no upstream call and no credit debit, and discloses the truncation behavior for large services along with its remedy. Remaining gaps are error behavior and whether the returned group list itself is free of endpoint details, which is implied but not explicit.

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?

Opens with the safety-relevant 'Read-only.', then purpose, then the conditional large-service behavior and how to recover. Four dense sentences, no filler, and the caveat arrives before an agent would need it.

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 two-parameter read tool with no output schema, the description covers what is returned, side effects, and the truncation/pagination quirk. It stops short of stating what an invalid or unknown slug yields, which is the main remaining unknown an agent might hit.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema by explaining why 'group' exists (endpoint truncation at 25+) and how re-invocation works. It slightly duplicates the schema's own 'all' escape hatch, which limits it to a 4 rather than a 5.

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 ('Get full details for a specific API service') and enumerates exactly what comes back: endpoints with schemas, pricing, proxy URLs, quality data. It also separates itself from write-heavy siblings by declaring 'Does not call any upstream API or debit credits', so an agent can distinguish it from apihub_call without opening a schema.

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?

Gives concrete usage instructions for the tricky case: for services with 25+ endpoints, the tool returns groups, and the caller should re-invoke with 'group' set to a returned name. It does not name an alternative for discovering a slug in the first place (e.g., list/search siblings), so routing guidance is clear but not exhaustive.

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.