Skip to main content
Glama

Hash text

hash_text
Read-onlyIdempotent

Hash UTF-8 text. algorithm is sha256, sha512, keccak256, or blake3. Paid: 0.001 USDC, 1 sat, or 1 eighth of a prepaid credit. POST https://api.agentpaywire.com/v1/tools/hash. Forward Authorization, X-APW-Credits, or PAYMENT-SIGNATURE on this MCP request. Without a payment the result is the HTTP 402 body.

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": {
      "algorithm": "<algorithm>",
      "text": "<text>"
    },
    "name": "hash_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
algorithmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the paid model, exact price in three currencies, the credit rate, the upstream endpoint, the required auth headers, and that an unpaid request returns the HTTP 402 body as the result. These are the operational facts an agent needs and none are derivable from the annotations.

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?

Front-loads the operation and algorithm list, then packs payment and transport mechanics into short sentences with no filler. It reads as terse operational notes rather than prose, but every clause carries information.

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?

With no output schema, the description never says what a successful result looks like (hex digest, casing, length per algorithm), only what an unpaid failure looks like. Payment and endpoint mechanics are complete, but the return contract for the success path is a meaningful gap.

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 0%, so the description must carry parameter meaning; it does so partially by enumerating the four algorithm values and specifying UTF-8 text encoding. The algorithm list merely restates the enum, and it adds no detail on text length limits or digest encoding.

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 UTF-8 text') with the supported algorithms named, so the agent knows exactly what the tool does. It does not differentiate itself from plausible siblings like encode_data, leaving the agent to infer the boundary.

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?

No explicit when-to-use or when-not-to-use guidance versus alternatives such as encode_data. Payment operation instructions ('Forward Authorization, X-APW-Credits, or PAYMENT-SIGNATURE') imply the calling context, but the choice between this and other tools is left unstated.

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