Skip to main content
Glama

endpoint-diligence

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.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool runs live checks, performs multiple verifications, and returns a score and evidence. It does not explicitly state if it is read-only or any rate limits/costs, but given the input (URL only) and nature (diligence), it is likely non-destructive and safe.

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?

Three concise sentences: first sets context, second enumerates checks, third defines output. No redundant words. All information is front-loaded and efficiently packaged.

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?

Given the tool's complexity (multiple checks, scoring) and lack of output schema, the description covers inputs and outputs adequately. It could benefit from detailing the evidence structure, but it provides sufficient context for tool selection.

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?

Only one parameter (url) with no schema description (0% coverage). The tool description explains the URL's purpose (endpoint to check) but adds no additional constraints beyond the URI format. It provides context but lacks detailed validation hints or examples.

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 defines the tool's purpose: running live diligence on an x402-metered endpoint before payment. It lists specific checks (spec compliance, price baselines, on-chain address, directory presence, infra hygiene, resale detection) and outputs (score, verdict, per-check evidence), distinguishing it from siblings like compare_price and reseller_check.

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 description states 'before you pay it,' indicating the primary use case. It implicitly suggests when not to use (after payment), but does not explicitly mention alternatives or exclusions. Sibling tools exist for specific subspects, but no guidance on when to prefer them.

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.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: check_endpoint performs a comprehensive diligence, compare_price compares prices to market percentiles, and reseller_check identifies possible upstream API resale. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: check_endpoint, compare_price, reseller_check. The naming is predictable and clear.

Tool Count5/5

With only 3 tools, the set is well-scoped for the niche domain of x402 endpoint diligence. Each tool earns its place, covering the essential operations without being too few or too many.

Completeness4/5

The tools cover the core diligence workflow: comprehensive check, price comparison, and reseller detection. There are no critical gaps, though a tool to fetch raw endpoint metadata without the full check could be a minor addition.

Resources