Skip to main content
Glama

security_webauthn_decode

Read-only

WebAuthn / passkey response decoder — Offline WebAuthn (passkey) decoder and checker. attestation= a registration attestationObject (base64url, base64 or hex) OR authenticator_data= for a login assertion; optional client_data= (clientDataJSON base64url), rp_id=, origin=, challenge=. Decodes CBOR/COSE: fmt and attStmt summary, rpIdHash, flags (UP, UV, BE, BS, AT, ED), signCount, AAGUID with authenticator name (iCloud Keychain, Google Password Manager, Windows Hello, 1Password, Bitwarden...), credential id, public key (kty, alg ES256/EdDSA/RS256..., curve, x/y). Checks rpIdHash vs rp_id, clientData type/origin/challenge, UP/UV, backup-flag consistency and trailing bytes; verdict OK or FAIL. Does not verify signatures or attestation chains. Malformed data returns 422. Price: $0.004 USDC (Base, via x402).

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": {
      "attestation": "<attestation>"
    },
    "name": "security_webauthn_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
attestationYeso2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViUo3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUddAAAAAPv8MAcVTk7MjAtuAgVX170AEKChoqOkpaanqKmqq6ytrq-lAQIDJiABIVggAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAiWCBAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiIQ

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond them: offline execution, OK/FAIL verdict semantics, 422 on malformed input, and an explicit x402 price ($0.004 USDC) plus the no-signature-verification limitation. The "openWorldHint: true" annotation sits uneasily with "offline", but the description never directly contradicts it.

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 purpose and mode selector, then progressively denser technical detail; nearly every clause carries information. It is long and somewhat run-on, packing flags, AAGUID vendors and pricing into single sentences, but little is genuinely wasteful.

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 carries the burden of describing returns and does so thoroughly (fmt, attStmt summary, rpIdHash, flags, signCount, AAGUID/authenticator name, credential id, COSE key fields, verdict). The one completeness gap is the mismatch between the documented optional parameters and the single-parameter schema.

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?

The description explains what attestation= actually is (base64url, base64 or hex) far better than the schema, whose only property description is an opaque base64 example blob. However it documents authenticator_data, client_data, rp_id, origin and challenge as accepted inputs, none of which exist in the schema (which has a single required "attestation"), so an agent following the text could construct a call that fails validation.

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?

Names a specific verb and resource ("WebAuthn / passkey response decoder" plus "Offline WebAuthn (passkey) decoder and checker") and enumerates exactly what is decoded. It is immediately distinguishable from the neighboring JWT/SAML/CSR decoders by naming the WebAuthn artifact set (attestationObject, clientDataJSON, AAGUID, COSE key).

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?

Gives concrete mode selection: use attestation= for a registration attestationObject or authenticator_data= for a login assertion, with optional client_data/rp_id/origin/challenge. It also states the boundary "Does not verify signatures or attestation chains", which tells the agent when this tool is insufficient. It stops short of naming a sibling alternative for verification.

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