Skip to main content
Glama

find_api

Read-onlyIdempotent

Searches the organization's OpenAPI spec by keywords, operation ID, or API path to find the Dashboard GET operation and parameters needed for api_get when other tools do not cover it.

Instructions

Find a Dashboard API read (GET) operation to call with api_get.

For anything the other tools do not cover. Searches the operation IDs, paths, summaries and tags of this organization's own OpenAPI spec (read once and cached) with English keywords, e.g. "switch dhcp server policy" or "wireless packet loss by device". Pass an exact operation ID (e.g. getNetworkWirelessSsids) or a concrete path to see its parameters.

Args: query: English keywords, an operation ID, or an API path. top: How many operations to list (1-50, default 10).

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": {
      "query": "<query>"
    },
    "name": "find_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), and the description adds real behavioral context: it searches operation IDs, paths, summaries and tags, the spec is read once and cached, and passing an exact operation ID or concrete path switches into a parameter-inspection mode. It does not say what happens on zero matches or how results are ranked, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operative constraint is front-loaded in the first two lines and the Args block cleanly documents both parameters. A few clauses (the caching parenthetical, the example queries) are slightly verbose but each carries information an agent can act on.

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?

With an output schema present, the description is not obliged to explain return values, and it covers the searchable fields, the two input modes, and the handoff to api_get. It is close to complete for a two-parameter discovery tool; only edge behavior (no results, result ordering) is left unstated.

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 0%, and the description does compensate by defining both parameters: query accepts English keywords, an operation ID, or an API path (three distinct input modes with different behavior), and top is documented as 1-50 with a default of 10. That is solid coverage, though it stops short of describing result ordering or why a larger top is useful, so it sits at adequate rather than rich.

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?

The first sentence names a specific verb and resource ('Find a Dashboard API read (GET) operation') and immediately clarifies the relationship to the sibling api_get ('to call with api_get'), so the agent knows this tool locates operations rather than executing them. The second sentence adds scope: it searches this organization's own OpenAPI spec.

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?

'For anything the other tools do not cover' gives an explicit fallback rule that selects this tool over the named-purpose siblings, and 'to call with api_get' states the follow-up step. What's missing is any exclusion of specific named alternates or a hint about when a direct api_get call is preferable to a search.

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