Skip to main content
Glama

hardoz x402 tools

detect

Detect language and content type of a text. Price: $0.001 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
payloadNo{}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does add genuinely useful behavioral context by stating the price and payment rail ($0.001 USDC on Base via x402), which an agent needs before invoking a paid tool. However, it says nothing about failure behavior, whether the operation is read-only analysis, latency, or what the response contains.

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?

Two tight sentences with the capability front-loaded and the cost constraint second. No filler or restatement of the tool name.

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 one-parameter, read-only detection tool the description covers purpose and cost, and no output schema exists so return values need not be explained. The missing piece is the shape of the 'payload' input, which leaves the agent guessing at the exact call format.

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% for the single 'payload' parameter, so the description must compensate. It says only 'a text', while the schema declares a string defaulting to '{}', implying a JSON-encoded envelope rather than raw text. An agent cannot tell from either source whether to pass plain text or a JSON object string, which is a material ambiguity for the only input.

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 a specific verb and two concrete outputs: language and content type of a text. That is far clearer than the bare name 'detect', though it does not explicitly distinguish the tool from the adjacent 'classify' or 'sentiment' siblings, which an agent could easily confuse with 'content type' detection.

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 guidance about when to use this versus 'classify' or 'sentiment', nor about input size limits, supported languages, or what happens with mixed-language text. The only extra information is pricing, which tells the agent the call costs money but not when the call is warranted.

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