Skip to main content
Glama

api_get

Read-onlyIdempotent

Read any Meraki Dashboard API GET response with bounded pagination, field filtering, and masked secrets; locate the needed operation with find_api first.

Instructions

Read any Dashboard API GET operation, bounded and with secrets masked.

For what the other tools do not cover; find the operation with find_api first. Reads one page, or up to max_pages. A list answer (or the one list inside an object, named by list_name, e.g. "events") is cut to limit items from offset (total_items says how many came back), fields keeps only the named keys of each item (dotted paths reach inside, e.g. "device.name"), and the whole answer is shrunk to max_chars: long nested lists and strings are cut and capped is set. Values of secret-looking keys (PSKs, RADIUS secrets, SNMP communities, passwords, tokens, keys) are replaced with "[redacted]". Every item that carries a device serial also gets that device's deviceName. next_params / prev_params are the paging parameters to add for the next page; max_pages reads up to 5 pages in one call and has_next_page says whether more remain. observed_at (UTC) and operation say when and what was read.

Args: path: API path with its IDs filled in, e.g. /networks/N_123/wireless/ssids (IDs and serials from health_check or other tools; must be in scope). params: Query parameters, e.g. {"timespan": 3600, "perPage": 100}; a list value is sent as key[]. fields: Keys to keep in each item, e.g. ["name", "serial", "status"]. offset: First list item to return (default 0). limit: List items to return, 1-200 (default 20). max_chars: Size limit of the answer, 2000-60000 characters (default 20000). max_pages: Pages to read by following next links, 1-5 (default 1).

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": {
      "path": "<path>"
    },
    "name": "api_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
limitNo
fieldsNo
offsetNo
paramsNo
max_charsNo
max_pagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent; the description goes far beyond by disclosing bounding behavior (limit, offset, truncation to max_chars with a 'capped' flag), pagination semantics (next_params/prev_params, max_pages up to 5, has_next_page), secret masking of PSKs, RADIUS secrets, SNMP communities, passwords, tokens and keys with '[redacted]', and an undocumented enrichment (deviceName attached to items with a serial). That is unusually rich behavioral context for a read-only 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 and routing, then behavior, then args; nearly every sentence carries information. Minor waste: the Args block restates ranges and examples already given in the prose (limit/offset/fields/max_pages appear twice), which inflates length without adding new meaning.

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?

For a 7-parameter generic escape-hatch tool with no output schema, the description covers everything an agent needs: where IDs come from ('IDs and serials from health_check or other tools; must be in scope'), how results are trimmed, what the paging fields mean, and what metadata comes back (observed_at, operation, total_items, capped).

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the entire burden, and it does: every one of the 7 parameters is explained with semantics, valid ranges and defaults (limit 1-200 default 20, max_chars 2000-60000 default 20000, max_pages 1-5 default 1), plus non-obvious details such as list params being sent as key[] and dotted paths in fields like 'device.name'.

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: 'Read any Dashboard API GET operation,' and immediately frames the scope as the general fallback ('For what the other tools do not cover'). That framing plus the named sibling find_api makes it clearly distinguishable from purpose-built tools like list_events or health_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to reach for this tool (things the other tools do not cover) and prescribes a prerequisite workflow: 'find the operation with find_api first.' That is a when-to-use rule plus an alternative, which is the top of the scale.

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