Skip to main content
Glama

x402-hash-generator

x402-hash-generator: 哈希生成——node crypto 支持 sha256/sha1/md5/sha512/ripemd160,输出 hex(或 base64)。纯内置。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData to process
textNoText to process
encodingNoEncoding to process
algorithmNoAlgorithm to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / algorithm
      Added value: +{
      +  "description": "Algorithm to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / data
      Added value: +{
      +  "description": "Data to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / encoding
      Added value: +{
      +  "description": "Encoding to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral-disclosure burden. It usefully states node crypto, supported algorithms, hex/base64 output, and that it is pure built-in, but it omits defaults, input handling, determinism, and error behavior.

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?

One compact sentence front-loads the core purpose and capabilities without padding. The redundant tool-name prefix is minor, and no sentence feels wasted.

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 simple hash tool with four ambiguous string parameters, no annotations, and no output schema, the description mentions algorithms and output format but leaves parameter mapping and defaults unexplained. It is not complete enough for an agent to invoke it confidently without inspecting the schema.

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?

Schema description coverage is 100%, but the descriptions are generic tautologies such as 'Data to process', so baseline 3 applies. The description adds allowed algorithm values and output encoding modes, yet does not clarify how data vs text vs encoding are meant to be used.

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?

States a specific verb and resource: hash generation, and names supported algorithms and output encodings. It does not distinguish from sibling hash tools such as x402-hash or x402-hash-file, so it earns 4 rather than 5.

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?

Gives no when-to-use or when-not-to-use guidance, and does not name an alternative among the many hash siblings. The only implied usage is that it generates hashes.

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