Skip to main content
Glama

check_endpoint

Runs live diligence on an x402-metered endpoint before you pay it: verifies its 402 payment challenge is spec-compliant, checks the price against market baselines, inspects the payTo address on-chain (Base), checks third-party directory presence, and checks basic infra hygiene, and detects possible upstream API resale with evidence-based markup estimates. Returns a 0-100 score, a pass/caution/fail verdict, and per-check evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the safety burden. It implies a non-destructive read-only check ('before you pay it', 'verifies', 'inspects') and explicitly mentions live on-chain and network activity. It could be more explicit about potential side effects like RPC calls or latency, but it conveys the operational scope better than most descriptions.

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 dense sentences pack a high amount of information without fluff. The first sentence is a long list but logically organized; the second handles return values. It could be broken into bullets for readability, but it is efficient and front-loaded.

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

Completeness4/5

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

For a compound tool with no output schema, it explains return values (score, verdict, evidence) and lists all major checks. It lacks explicit detail on what 'market baselines' or 'infra hygiene' entail and doesn't mention error handling, but the core behavior and outputs are adequately covered.

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

Parameters4/5

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

The schema has one param (url) with zero description coverage, so the description must add meaning. It repeatedly references 'the endpoint' and specifies 'x402-metered endpoint', clarifying the expected URL type beyond the generic uri format. It doesn't explicitly define the parameter, but it is strongly implied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: running live diligence on an x402-metered endpoint before payment. It enumerates specific checks (402 compliance, price baselines, on-chain payTo inspection, directory presence, infra hygiene, resale detection) and describes the output, making it unmistakable and distinct from narrower sibling tools.

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?

The phrase 'before you pay it' provides a clear usage context (pre-payment verification), and the list of checks implies when this tool is appropriate. However, it does not explicitly contrast with sibling tools like compare_price or reseller_check, nor 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
Disambiguation4/5

Each tool has a clear primary purpose: full diligence, price comparison, and reseller detection. However, check_endpoint subsumes the functionality of the other two, which could cause some confusion about which tool to use when only a specific check is needed.

Naming Consistency4/5

Two tools follow the verb_noun pattern (check_endpoint, compare_price), while reseller_check deviates by using noun_noun. This is a minor inconsistency but the intent remains clear.

Tool Count5/5

With only three tools, the server is tightly scoped for its purpose. Each tool earns its place by offering a distinct level of diligence, from full evaluation to targeted checks.

Completeness5/5

The domain of x402 endpoint diligence is fully covered: comprehensive checking, market pricing, and reseller identification. No obvious missing functionality for the stated purpose.

Resources