Skip to main content
Glama

SCRIPTMASTERLABS — SML agent-safety

x402-health

Read-only

x402 endpoint health / pay-readiness ($0.002 via x402 at GET https://sml-agent-products.onrender.com/agent-safety/v1/x402-health). GET ?url=&method=GET|POST&maxUsd=. Live probe (never pays): go/caution/no_go, recommended payment option, every accepts problem, discovery + bazaar metadata, latency.

Input Schema

NameRequiredDescriptionDefault
urlYes
maxUsdNo
methodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

The readOnlyHint=true annotation already covers the safety profile, and the description usefully reinforces it with 'Live probe (never pays)' while enumerating the response payload (verdict, recommended option, accepts problems, discovery/bazaar metadata, latency) – valuable because there is no output schema. However, it omits the cost implication on the target side, rate limits, and any auth requirements for the probed endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and nothing is padded, but the telegraphic style – a raw query-string fragment and a run-on list of payload fields – makes it harder to parse than a plain sentence would be. The '$0.002 via x402 at <URL>' clause is essential context but competes for attention with the field list.

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?

For a 3-parameter probe with no output schema, listing the returned signals is the right move and largely discharges the return-value burden. It still doesn't resolve the two biggest ambiguities an agent faces: that 'url' is the remote endpoint being probed (not this service's own address) and what happens when the probe fails or the target is unreachable.

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 description coverage is 0%, so the description must carry the parameter burden. It only echoes the query string ('?url=&method=GET|POST&maxUsd='), which restates names and the method enum already present in the schema; it never explains that url is the target endpoint to probe, or what maxUsd bounds (maximum acceptable price) and how it affects the verdict.

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 names the resource precisely ('x402 endpoint health / pay-readiness') and specifies the checks performed (go/caution/no_go verdict, recommended payment option, accepts problems, latency), so an agent knows what it gets back. It never states a clean verb and never contrasts itself with the sibling tools (catalog, prompt-injection, url-safety), so differentiation is by name only.

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

Usage Guidelines2/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 guidance; the intended moment (probing an x402 endpoint before paying it) is only implied by 'pay-readiness' and 'never pays'. With url-safety and catalog as siblings, the agent is left to infer that this tool is for payment-capability probing rather than general URL vetting.

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