Skip to main content
Glama
agent-mesh

agent-mesh

Official
by UllrAI

mesh_inspect

Read-only

Inspect a specified agent’s Card and method input conventions to verify available methods and required arguments before invoking them.

Instructions

查看指定 Agent 的 Card 和方法输入约定。

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": {
      "agent_id": "<agent_id>"
    },
    "name": "mesh_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe, non-mutating read, so the description's job is lighter. It does add value by indicating the payload is the Agent Card and input conventions, but it says nothing about failure behavior when agent_id is unknown, whether the card is live or cached, or any permission requirements.

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?

A single short sentence with zero filler and the object of the action front-loaded. It is efficient, though the terseness is part of why other dimensions are thin rather than a flaw in wording itself.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the readOnly annotation covers safety. Still, for a tool whose whole purpose is contract discovery, the description never explains what "方法输入约定" contains or how agent_id is sourced, which an agent needs in order to call it correctly.

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?

With only one parameter and 0% schema description coverage, the schema contributes nothing beyond the title "Agent Id". The description implies the parameter selects which Agent to inspect, but gives no format hints or tells the agent where to obtain a valid agent_id (e.g., from mesh_list), leaving a real gap.

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?

"查看指定 Agent 的 Card 和方法输入约定" names a concrete verb (查看/inspect) and a concrete resource (Agent Card + method input contract), which is distinct from siblings like mesh_invoke (execute) or mesh_list (enumerate). It stops short of explicitly contrasting itself with any sibling, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement, and no alternative is named. Usage is only implied: an agent would infer this is the pre-flight step to discover an agent's input contract before calling mesh_invoke. That inference is reasonable but not stated.

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