Skip to main content
Glama

Inspect x402 Endpoint

inspect_x402_endpoint
Read-onlyIdempotent

Call before spending on an unfamiliar x402 resource. Free, read-only, and never sends payment credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoGET
resource_urlYesPublic HTTPS x402 resource to inspect without payment credentials.
max_price_usdNo
expected_networkNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
corsYes
scoreYes
checksYes
issuesYes
paymentYes
profileYes
decisionYes
evidenceYes
resourceYes
discoveryYes
expiresAtYes
requestIdYes
observedAtYes
operationalYes
claimBoundaryYes

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already mark it read-only and idempotent; the description adds that it is free and never sends payment credentials, which is useful behavioral context beyond the structured hints.

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?

A single, front-loaded sentence with no filler. Every phrase carries meaning, from the trigger condition to the safety guarantees.

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?

The description provides solid usage context and safety cues, and an output schema exists, but the meaning of optional parameters is left entirely to schema patterns and enums, so completeness is adequate but gapped.

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?

Schema descriptions cover only resource_url (25%); the description does not explain method, max_price_usd, or expected_network, so an agent gets no added semantic guidance for three of four parameters.

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?

The description clearly identifies the action (inspect an x402 endpoint) and the context (before spending on an unfamiliar resource). It does not explicitly contrast with sibling tools audit_x402_endpoint or order_x402_remediation, so it stops short of full differentiation.

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?

Provides an explicit trigger condition ('before spending on an unfamiliar x402 resource') and clarifies that it is free and does not send credentials, but it does not name alternatives or state when not to use it.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool has a clearly distinct role: inspect is free and read-only, audit is a paid deep diagnostic, and order_remediation is a separate purchase flow after an audit. There is no meaningful overlap that would cause an agent to select the wrong tool.

Naming Consistency5/5

All three tools follow a consistent verb_x402_object pattern: audit_x402_endpoint, inspect_x402_endpoint, and order_x402_remediation. The verbs clearly indicate the action and the naming convention is uniform.

Tool Count5/5

Three tools is an appropriate, focused scope for an x402 preflight server. Each tool represents a distinct stage in the workflow without unnecessary duplication or bloat.

Completeness4/5

The core workflow is covered: inspect before spending, audit for a deep check, and order remediation after a failed audit. Minor gaps exist around order status or remediation fulfillment, but the essential preflight lifecycle is complete.