Skip to main content
Glama

text digest (sha256, keccak256)

text digest (sha256, keccak256)

mcp_digest

Send text and get its sha256 or keccak256 hash as hex. Listed by Moonbeam and answered by the best-ranked seller behind it. 0.0012 USDC a call, paid with x402 on Base: without a payment the call answers the payment terms; send the signed payment in _meta["x402/payment"] (or as payment, the PAYMENT-SIGNATURE value) and call again.

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": "mcp_digest"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesthe mcp.digest input, e.g. {"text":"hello world","algorithm":"sha256"}
paymentNooptional: the x402 PAYMENT-SIGNATURE header value (base64) for the terms the first call answered

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  2. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  4. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"
  5. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  6. Changed4 schema fields changed
    • addedInput schema / properties / input / additionalProperties
      Added value: +false
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"taifoon class fit\"}"
    • addedInput schema / properties / input / properties
      Added value: +{
      +  "algorithm": {
      +    "type": "string"
      +  },
      +  "text": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / input / required
      Added value: +[
      +  "text"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  8. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  9. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  10. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  11. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  12. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  13. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  14. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  15. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  16. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  17. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  18. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  19. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  20. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  21. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  22. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  23. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  24. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input"New value: +"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"
  25. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"the mcp.digest input, e.g. {\"text\":\"hello world\",\"algorithm\":\"sha256\"}"New value: +"the mcp.digest input"
  26. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds the whole commercial and auth surface: 0.0012 USDC per call, x402 on Base, the exact location for the signature (_meta["x402/payment"] or the payment parameter), and the fact that an unpaid call returns terms rather than a hash. That is materially more than the annotations convey and is consistent with them (a paid, side-effecting outbound call).

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?

Three sentences, front-loaded with the core action and return type before the payment mechanics. The marketplace aside ("answered by the best-ranked seller behind it") is the one sentence that does not help an agent call the tool.

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?

With no output schema, the description must state returns and does so ('as hex'), and it fully explains the two-call paid flow. The residual gap is the nested input's defaults, e.g. the behavior when algorithm is omitted and what an unsupported algorithm yields.

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, and the description earns a step up by naming the two concrete algorithm values even though the schema declares algorithm as an unconstrained string with no enum. It also ties the payment parameter to the PAYMENT-SIGNATURE value, clarifying the format expected.

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?

"Send text and get its sha256 or keccak256 hash as hex" is a specific verb plus resource, and it even names the two supported algorithms. There are no sibling tools to disambiguate from, so the purpose is fully established in one sentence.

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?

The description gives a clear operational path: the first unpaid call returns payment terms, then you resend with the signed payment and call again. It does not need to name alternatives (none exist), but it stops short of saying which algorithm to pick when, or what the default is.

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