Skip to main content
Glama

FMF Tools Dev Utils

code_hash

Hash / HMAC generator ($0.001 per call, paid via MPP on Tempo). MD5, SHA-1, SHA-256/384/512, SHA3-256/512, Keccak-256 (Ethereum), BLAKE2b, BLAKE3 and CRC32 of text, hex or base64 input (up to 1 MB), optional HMAC key; hex and base64 output. Pass algorithms[] or get them all. HTTP POST https://mpp-utils.fmf-x402.workers.dev/code/hash. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "input": "<input>"
    },
    "name": "code_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
encodingNoutf8 (default), hex, base64
hmac_keyNo
algorithmsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses per-call cost ($0.001 via MPP on Tempo), the 1 MB input ceiling, the omit-algorithms-means-all behavior, and that this MCP wrapper does NOT settle payment itself. Remaining gaps are error/failure behavior and whether limits are enforced pre- or post-payment.

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-loaded with capability, then capabilities detail, then invocation/payment mechanics — sensible ordering with no filler sentences. The raw HTTP endpoint URL is somewhat operational clutter inside a description, but it is functionally relevant given the payment caveat.

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?

There is no output schema, and the description only says 'hex and base64 output' without indicating whether results are returned per-algorithm (a map keyed by algorithm) or as a single string. Cost and auth are well covered, but for a 4-parameter tool with 25% schema coverage, the response shape and multi-algorithm return structure should have been spelled out.

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 coverage is only 25%, but the description compensates for most of it: input formats ('text, hex or base64'), the 1 MB size limit, optional hmac_key, and the algorithms[]-or-all default. Encoding is only implied by 'hex and base64 output' rather than explicitly tied to the 'encoding' parameter, and hmac_key's interaction with non-HMAC algorithms (e.g. CRC32) is left unstated.

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?

Opens with a specific verb+resource ('Hash / HMAC generator') and then enumerates the exact algorithm set (MD5, SHA family, SHA3, Keccak-256, BLAKE2b/3, CRC32), input forms, and output encodings. Nothing about this overlaps with siblings like code_jwt, code_semver, or code_url, so an agent can route here without opening another schema.

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?

'Pass algorithms[] or get them all' gives a concrete default-behavior instruction, and the payment paragraph tells the agent exactly how to invoke it successfully (MPP Payment Authorization header, or mppx against the HTTP route). It does not name when to prefer an alternative sibling, but the hashing domain is unambiguous enough that the omission is minor.

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