Skip to main content
Glama

find_operations

Read-only

UNDERSTANDING — CATALOG-WIDE operation search: which providers expose a path matching your terms. "Who has a POST /refunds" had no answer before this — tags are what a company says about itself, a path is what its API accepts. Terms match path SEGMENTS (all must appear), so q="payment intents" finds /payments/v1/intents. Add method to narrow by verb, deprecated=true for the retiring ones. One row per real operation: a provider's spec is split per tag, so the same call can live in several of its documents, and apis lists them all. Reads matching providers' surfaces up to max_providers (cap 100) and tells you in meta.query.truncated when more matched than were read. Priced per result — $0.005 per request plus $0.0002 per record returned (less past 100), capped at $0.50 a request, under pay-as-you-go; included in Understanding and Influence. Estimate first at /api/v1/prices/estimate. See apis://prices.

Input Schema

NameRequiredDescriptionDefault
qYesPath words, all of which must appear, e.g. "refunds" or "payment intents".
pageNoPage number, 1-based (default 1).
limitNoResults per page, 1-100 (default 25).
methodNoOnly operations with this HTTP method, e.g. "POST".
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.
deprecatedNoOnly operations the provider marked deprecated.
max_providersNoHow many matching providers to read (default 40, cap 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable."New value: +"Optional: one sentence on why you are asking. Never used to rank; read only if a result is wrong."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 1-based (default 1). Use with `limit` to walk a long list."New value: +"Page number, 1-based (default 1)."
  2. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Results per page, 1-100 (default 25)."
    • addedInput schema / properties / method / description
      Added value: +"Only operations with this HTTP method, e.g. \"POST\"."
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1-based (default 1). Use with `limit` to walk a long list."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it discloses de-duplication semantics (one row per real operation; the same call may appear in several provider documents, all listed in `apis`), read truncation behavior (page of matching providers up to max_providers with a 100 cap, surfaced via meta.query.truncated), and the full pricing model with a pointer to an estimate endpoint. That is unusually rich behavioral context for a read tool.

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?

Front-loaded with purpose before mechanics, and the example and truncation note earn their space. The pricing sentence is comparatively long and could be one clause shorter, but the information is relevant and non-redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the return-shape burden and does so: it explains the row granularity, the `apis` list, and the truncation signal in `meta.query.truncated`. Combined with the pricing/prerequisite pointer, an agent has everything needed to call it correctly.

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 a 3 is the baseline, but the description adds genuine meaning: q is explained as segment-matched AND-semantics with a concrete example, method as verb narrowing, and deprecated as a filter for retiring operations. page/limit/max_providers and context are left to the schema, which is acceptable.

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 with scope: 'CATALOG-WIDE operation search: which providers expose a path matching your terms.' It also draws a sharp conceptual line against tag-based search ('tags are what a company says about itself, a path is what its API accepts'), letting an agent separate it from the tag/domain lookup tools 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 clear usage conditions: terms match path SEGMENTS and all must appear (with a worked example), method narrows by verb, deprecated=true surfaces retiring operations. It does not explicitly name alternatives such as get_provider_operations or find_openapis, so routing between the several operation/spec-search siblings is left to inference.

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