Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

hmac_sign_verify

Read-onlyIdempotent

Sign a message with an HMAC or verify webhook signatures in constant time, including GitHub sha256, Stripe v1, and Slack v0 formats.

Instructions

utilpeek: Returns the HMAC of a message under a shared key (sign), or whether a signature matches it in constant time (verify); handles GitHub (sha256= prefix accepted), Stripe v1 (of {t}.{raw body}) and Slack v0 (of v0:{timestamp}:{raw body}) webhook signatures. For plain digests use hash_text; for JWTs use verify_jwt. Malformed hex or base64, a sha*= prefix naming another algorithm, or verify without a signature is a 422 (not charged). Other prefixes (v0=, v1=) are not stripped. sha1 is for legacy webhooks only. The key and message are never echoed. Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/verify-webhook-signature-hmac-api.html

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": {
      "mode": "<mode>",
      "message": "<message>",
      "key": "<key>"
    },
    "name": "hmac_sign_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe shared secret (at most 1 KiB), read as `key_encoding`. Never echoed or logged.
modeYessign (compute the HMAC) or verify (check `signature`).
outputNoSignature encoding: hex (default) or base64.hex
messageYesThe signed payload exactly as received (e.g. the raw webhook body), as text; at most 64 KiB as UTF-8.
algorithmNosha256 (default), sha512, or sha1 (legacy webhooks only).sha256
signatureNoverify only: the signature to check, in `output` encoding. A `sha256=` style prefix (GitHub's X-Hub-Signature-256) is stripped when it names `algorithm`.
key_encodingNoutf8 (default), hex or base64 (standard alphabet).utf8

Output Schema

NameRequiredDescriptionDefault
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
validNo
outputNo
algorithmNo
signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds genuinely new behavior: constant-time comparison, prefix stripping rules, which prefixes are NOT stripped, a 422 (uncharged) for malformed encodings or verify-without-signature, non-echoing/non-logging of key and message, typical latency, price and free-tier limits. None of that is recoverable from the annotations or schema.

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 the core sign/verify behavior and sibling routing, then dense operational detail with no filler sentences. The provider-composition and pricing clauses are packed into one long run-on string of semicolons, which costs a little readability but wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no prose; what remains — mode semantics, encoding interactions, provider-specific constructions, failure cases, cost, and privacy guarantees — is all covered. For a 7-parameter crypto utility with an output schema, nothing an agent needs to call it correctly is missing.

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; the description nevertheless adds meaning the schema does not carry, notably how the Stripe signature is computed over `{t}.{raw body}` and Slack over `v0:{timestamp}:{raw body}`, and that the GitHub `sha256=` prefix is accepted only when it names the chosen algorithm. It stops short of tying those composition rules explicitly to the `message` and `signature` parameters, so a 4 rather than a 5.

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 concrete verb+resource pair in the first clause: computes an HMAC (sign) or constant-time compares a signature (verify). It also names the sibling tools it supersedes (hash_text for plain digests, verify_jwt for JWTs), so an agent can separate it from the alternatives without opening any schema.

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

Usage Guidelines5/5

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

Explicit routing: "For plain digests use hash_text; for JWTs use verify_jwt," plus when each mode applies and which provider signature schemes (GitHub, Stripe v1, Slack v0) are handled. It also states a restriction on the input itself (sha1 for legacy webhooks only), which is when-not guidance an agent can act on.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools