Skip to main content
Glama

util_hash

Read-only

$0.001 via x402: SHA-256 hash of text (also SHA-1, SHA-384, SHA-512 and MD5 with algo=): the digest as hex and base64, with the byte length of the text. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/hash?text=hello&algo=sha-256 Via the Agent Exchange store gateway; settled by Coinbase.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "util_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
algoNoalgo
textYestext
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say readOnly and openWorld; the description adds the material behavior: a $0.001 USDC cost, the x402 payment path, the settlement party (Coinbase), and the return shape (hex, base64, byte length). The 'answer is the price without payment' detail lives in the schema rather than here, which is the only gap.

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 dense sentence front-loads the operation, then the algorithm variants, then the return format, then the payment mechanics. The example URL with query params is functional but makes the sentence heavier than necessary; nothing is redundant.

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?

Despite having no output schema, the description discloses the return payload (hex digest, base64 digest, byte length), and it covers the paid-call mechanic and algorithm options. An agent has enough to call and interpret it; only the payment-less first-call flow is left to the schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns more by enumerating the accepted algo values (SHA-1, SHA-384, SHA-512, MD5) where the schema only says 'algo'. The text parameter's meaning is self-evident from the purpose.

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?

States a specific verb and resource (SHA-256 hash of text), lists the alternate algorithms selectable via algo=, and is unmistakably distinct from sibling utilities like util_echo or util_uuid. The digest formats are also named.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The pricing/payment framing implies how to call it (pay via x402 gateway), but there is no explicit when-to-use or when-not guidance, nor any routing to alternatives. For a single-purpose utility that is largely acceptable, but the guidance is inferred rather than stated.

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.