Skip to main content
Glama

audit_agent_endpoint

Read-onlyIdempotent

Pre-flight trust & tool-poisoning check for a public https:// MCP or x402 endpoint URL. Returns indexed PIT history or performs a live deterministic security & schema audit.

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": {
      "url": "<url>"
    },
    "name": "audit_agent_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull public https:// URL of the MCP or x402 endpoint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description's value-add is disclosing a dual mode — returns indexed PIT history OR runs a live deterministic audit — but it never says what determines which path is taken, whether the live audit is slower/costlier or can fail on an unreachable endpoint. That ambiguity matters for a tool that may perform network work.

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?

Two tight sentences, front-loading what it checks before describing the outcome, with no filler. Minor cost from unexplained jargon ('PIT history'), which slightly undercuts the efficiency.

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?

With no output schema, the description carries the burden of describing returns, and it only gestures at them: an agent still does not know the shape of a trust/audit result, what verdicts or scores come back, or what happens when no index entry exists. For a one-parameter security check that is adequate but not sufficient.

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?

There is a single required parameter with 100% schema coverage, so the schema already documents it fully. The description restates the same constraints ('public https://', 'MCP or x402 endpoint') without adding format rules, timeout expectations, or examples. Baseline 3 is correct when the schema does the work.

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?

States a specific verb and resource: a 'pre-flight trust & tool-poisoning check' on a 'public https:// MCP or x402 endpoint URL'. That is concrete and an agent can tell this is a vetting/security tool rather than a data fetch. It does not explicitly position itself against any sibling (e.g. get_agent_trust_diffs), so it stops short of 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?

'Pre-flight' implies the moment of use — vet an endpoint before trusting or connecting to it — which is a real timing signal. However, there is no explicit when-not guidance, no prerequisites (rate limits, whether the endpoint must be live/reachable), and no named alternative for the related trust-diff tools, leaving selection to inference.

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.