Skip to main content
Glama

resolve_entity

Read-onlyIdempotent

Convert names, IDs, serials, MACs, or IPs into Meraki organization, network, or device IDs required by other tools and api_get. Use it to identify entities before making scoped API calls.

Instructions

Turn a name, ID, serial, MAC or IP into the Meraki IDs other tools and api_get need.

Matches (case-insensitive, whole or part) organizations by ID and name, networks by ID and name, and devices (access points, switches...) by serial, name, MAC and LAN IP, from the inventory in scope. A client (a laptop or phone) is not a device here: use find_client for those.

Args: query: A name or part of one, an ID, a serial, a MAC or an IP address. top: How many matches to list per kind (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": "resolve_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered; the description goes further by disclosing matching semantics (case-insensitive, whole or partial), which fields are searched per entity kind, the 'inventory in scope' data boundary, and a per-kind result cap. It does not discuss result shape or ambiguity, but the output schema carries that.

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?

Front-loaded with the one-line purpose, then matching rules, then the sibling exclusion, then a compact Args block. Nothing is repeated for padding, and the Args section earns its place precisely because the schema has no parameter descriptions.

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 multi-entity resolver with two params and an existing output schema, the definition covers input interpretation, matching behavior, scope of the inventory, and sibling routing. The only omission is behavior on zero or excessive matches beyond the top cap, which would help an agent recover from an ambiguous query.

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 load and it does: query is defined as a name or fragment, ID, serial, MAC or IP, and top is defined as matches listed per kind with range 1-50 and default 10 — details not present in the bare integer schema. No parameter is left undefined.

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 transformation verb (turn X into Meraki IDs) and enumerates the accepted input kinds (name, ID, serial, MAC, IP), plus the output's purpose ('the Meraki IDs other tools and api_get need'). It also draws an explicit boundary against the sibling find_client, so an agent can distinguish it without opening either 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 when-to-use context ('IDs other tools and api_get need', i.e. call this to obtain arguments for other tools) and a when-not case ('a client is not a device here: use find_client for those'). It does not explicitly address ambiguity handling (what to do when many or zero matches come back), which keeps it short of a 5.

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