Skip to main content
Glama

api_describe

Read-onlyIdempotent

Describe one domain of the AHOOK API: returns the compact OpenAPI slice (operations + the schemas they reference) for that domain, so you can discover what the API can do without loading the whole spec. The response also lists every available domain with its operation count. One call = one metered read.

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": {
      "tag": "<tag>"
    },
    "name": "api_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesThe domain to describe, e.g. ledger, groups, newsletter, inboxes. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the response payload shape (OpenAPI slice plus a list of all domains with operation counts) and the metering note 'One call = one metered read'. It does not cover failure behavior for an unknown domain or any size limits on the returned slice.

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?

The purpose and return content are front-loaded in the first sentence, with the metering cost as a short trailing note that earns its place. No filler sentences, though the opening sentence is dense and could be split for faster scanning.

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-only discovery tool with no output schema, the description covers purpose, return shape, and cost, which is what an agent needs to invoke it correctly. The main remaining gap is that it never states what happens when the requested domain does not exist.

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 coverage is 100% and the schema already gives the parameter name, required status, and example domain values (ledger, groups, newsletter, inboxes). The description adds only the notion of 'one domain' and, indirectly, that valid domain names can be discovered from any response's domain list. With the schema doing the heavy lifting, the baseline 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 uses a specific verb and resource: describe one domain of the AHOOK API and return the compact OpenAPI slice (operations plus referenced schemas) for it. That is clearly distinct from mutation siblings like create_inbox or list_* tools. It stops short of naming a sibling such as api_plan, so the differentiation is achieved through the resource rather than explicit routing.

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?

It gives clear context for use: discover what the API can do without loading the whole spec, which tells the agent this is a cheap discovery/scoping step. It does not state exclusions or compare against api_plan, which looks like the nearest alternative, so an agent must infer that boundary.

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.