Skip to main content
Glama

inspect_agent

Read-onlyIdempotent

Pre-payment agent inspection across x402, A2A, ERC-8004, OpenAPI and MCP; failed inspections are not charged; 0.009 USDC.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://phion.systems/.well-known/agent-card.json"
    },
    "name": "inspect_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "url": "https://agent.example/.well-known/agent.json"
      -  }
      -]New value: +[
      +  {
      +    "url": "https://phion.systems/.well-known/agent-card.json"
      +  }
      +]
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "url": "https://agent.example/.well-known/agent.json"
      +  }
      +]
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: the multi-protocol scope, the billing model (0.009 USDC), and the important guarantee that failed inspections are not charged.

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 compact sentence with the core purpose and cost front-loaded. It is dense but every clause (protocol list, failure policy, price) carries information; no filler.

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

Completeness2/5

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

For a multi-protocol inspection tool with no output schema, the description says nothing about what an inspection result contains — pass/fail, per-protocol findings, or why an inspection fails. Combined with the unexplained url parameter, an agent knows the cost but not the shape or criteria of the outcome.

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

Parameters2/5

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

There is a single parameter (url) with 0% schema description coverage, so the description must carry the burden, yet it never explains what the URL should point to or which document types are accepted. The only hint is the schema's own example agent-card.json, which is structured data, not description text.

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?

"Pre-payment agent inspection" gives a specific verb (inspect) and resource (agent) and names the protocols covered (x402, A2A, ERC-8004, OpenAPI, MCP). It does not explicitly contrast itself with close siblings like preflight, verify, or try_service, so differentiation is left partly to inference.

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?

The word "Pre-payment" implies the intended moment of use — before paying an agent — and the no-charge-on-failure note encourages trial. However, it never states when to prefer this over preflight, verify, or try_service, nor any exclusions or prerequisites beyond the URL.

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