Skip to main content
Glama

Verify a Signed Print

verify_print
Read-onlyIdempotent

Verify a signed print locally with ECDSA P-256/SHA-256. Canonical bytes are pulse-index-v1\n\n<priceText or String(price)>\n\n. The public key ring is read from /api/index/v1/pubkey, cached for five minutes and refreshed at most once per 30 seconds on a failed check. A supplied kid selects only that exact key; old prints without kid are tried against the bounded published ring. valid=true authenticates only the canonical price fields, not kid, sig, quality, cadence, timestamps outside at, or other metadata. When the print carries a v2 block (pulse-index-v2), it is verified too: v2.valid=true means the signature over v2.canonical is valid AND every signed line (sources, tier, confidence, dispersionBps, interval, cadence, engine, price and the rest) matches the supplied fields; v2.signedFields are the signed values and v2.mismatches names any field that differs. recordValid=true and verificationScope=full-record require BOTH price and complete v2 record verification. metadataSigned equals recordValid. Require recordValid before trusting quality fields. A v1-only print has scope price-only, never verified metadata. Neither signature proves freshness or settlement suitability; indicative data must not be used for settlement. An invalid signature can mean an altered print or a key no longer published; it does not by itself prove tampering.

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": {
      "symbol": "<symbol>",
      "price": "<price>",
      "at": "<at>",
      "grade": "<grade>",
      "signature": "<signature>"
    },
    "name": "verify_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesTimestamp from the print, unchanged
v2NoThe v2 block from the print, unchanged: it signs the whole record, quality fields included
kidNoSigning key identifier, when provided by the API
sigNoSignature version from the print (pulse-index-v1), when provided
kindNoPrint kind from the print, when provided (daily-close for a daily close)
tierNoCoverage tier from the print, unchanged, when provided
gradeYesQuality grade from the print, unchanged, e.g. consensus
priceYesPrice from the print, unchanged (text or number)
engineNoPricing engine label from the print, unchanged, when provided
symbolYesCrypto ticker symbol, e.g. BTC, ETH, SOL
assetIdNoAsset identifier from the print, unchanged, when provided
cadenceNoCadence block from the print, unchanged, when provided
licenceNoPlan licence from the print, unchanged, when provided (a signed v2 line on prints requested with licence=1)
sourcesNoNumber of exchanges that contributed, from the print, when provided
closeDayNoUTC day of a daily close (YYYY-MM-DD), from the print, when provided
intervalNoPrice interval from the print, unchanged, when provided
priceTextNoExact signed price text, when provided by the API; preserve unchanged
signatureYesECDSA P-256 signature in base64
confidenceNoConfidence score from the print, unchanged, when provided
dispersionBpsNoSpread between contributing exchanges in basis points, from the print, when provided

Output Schema

NameRequiredDescriptionDefault
v2No
errorNo
validNoLegacy price-only signature check. Use recordValid for quality metadata.
checkedNo
keySourceNo
requestIdYesIdentifier for this MCP call; not a signed price field.
recordValidNoBoth signatures and every required v2 field verified. Does not prove freshness or settlement suitability.
metadataSignedNo
verifiedWithKidNo
verificationScopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / upgradeUrl / pattern
      Previous value: -"^https:\\/\\/thepulse\\.markets\\/developers(?:\\?ref=[a-z0-9][a-z0-9-]{0,39})?#\\/(?:portal\\/pricing|buy\\/plan\\/(?:basic|builder|commercial)\\/(?:month|year)|buy\\/pack\\/(?:10|50|200)|buy\\/stream-addon)$"New value: +"^https:\\/\\/thepulse\\.markets\\/developers(?:\\?ref=[a-z0-9][a-z0-9-]{0,39})?#\\/(?:portal\\/pricing|buy\\/plan\\/(?:starter|basic|builder|commercial)\\/(?:month|year)|buy\\/pack\\/(?:10|50|200)|buy\\/stream-addon)$"
  2. Changed1 schema field changed
    • addedInput schema / properties / licence
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 60,
      +      "minLength": 1,
      +      "pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Plan licence from the print, unchanged, when provided (a signed v2 line on prints requested with licence=1)"
      +}
  3. Changed21 schema fields changed
    • addedInput schema / properties / assetId / description
      Added value: +"Asset identifier from the print, unchanged, when provided"
    • changedInput schema / properties / cadence / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "band": {
      -        "anyOf": [
      -          {
      -            "maxLength": 40,
      -            "minLength": 1,
      -            "pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "calculatedAgeMs": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "newestSourceAgeMs": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "oldestSourceAgeMs": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "p50UpdateMs": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "p95UpdateMs": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "band": {
      +        "anyOf": [
      +          {
      +            "maxLength": 40,
      +            "minLength": 1,
      +            "pattern": "^[^\\x00-\\x1f\\x7f\\u0085\\u2028\\u2029]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Update cadence band, from the print"
      +      },
      +      "calculatedAgeMs": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Age of the calculation in milliseconds, from the print"
      +      },
      +      "newestSourceAgeMs": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Age of the newest exchange quote in milliseconds, from the print"
      +      },
      +      "oldestSourceAgeMs": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Age of the oldest exchange quote in milliseconds, from the print"
      +      },
      +      "p50UpdateMs": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Median time between updates in milliseconds, from the print"
      +      },
      +      "p95UpdateMs": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "95th percentile time between updates in milliseconds, from the print"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / cadence / description
      Added value: +"Cadence block from the print, unchanged, when provided"
    • addedInput schema / properties / closeDay / description
      Added value: +"UTC day of a daily close (YYYY-MM-DD), from the print, when provided"
    • addedInput schema / properties / confidence / description
      Added value: +"Confidence score from the print, unchanged, when provided"
    • addedInput schema / properties / dispersionBps / description
      Added value: +"Spread between contributing exchanges in basis points, from the print, when provided"
    • addedInput schema / properties / engine / description
      Added value: +"Pricing engine label from the print, unchanged, when provided"
    • addedInput schema / properties / grade / description
      Added value: +"Quality grade from the print, unchanged, e.g. consensus"
    • changedInput schema / properties / interval / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "lower": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "upper": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "lower",
      -      "upper"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "lower": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Lower bound of the price interval, from the print"
      +      },
      +      "upper": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Upper bound of the price interval, from the print"
      +      }
      +    },
      +    "required": [
      +      "lower",
      +      "upper"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / interval / description
      Added value: +"Price interval from the print, unchanged, when provided"
    • addedInput schema / properties / kind / description
      Added value: +"Print kind from the print, when provided (daily-close for a daily close)"
    • addedInput schema / properties / price / description
      Added value: +"Price from the print, unchanged (text or number)"
    • addedInput schema / properties / sig / description
      Added value: +"Signature version from the print (pulse-index-v1), when provided"
    • addedInput schema / properties / sources / description
      Added value: +"Number of exchanges that contributed, from the print, when provided"
    • addedInput schema / properties / tier / description
      Added value: +"Coverage tier from the print, unchanged, when provided"
    • removedInput schema / properties / v2 / properties / kid / $ref
      Removed value: -"#/properties/kid"
    • addedInput schema / properties / v2 / properties / kid / description
      Added value: +"v2 signing key identifier, from the print"
    • addedInput schema / properties / v2 / properties / kid / pattern
      Added value: +"^[A-Za-z0-9._:-]{1,64}$"
    • addedInput schema / properties / v2 / properties / kid / type
      Added value: +"string"
    • addedInput schema / properties / v2 / properties / sig / description
      Added value: +"v2 signature version (pulse-index-v2), from the print"
    • addedInput schema / properties / v2 / properties / signature / description
      Added value: +"v2 ECDSA P-256 signature in base64, from the print"
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Far beyond the annotations, it discloses that the key ring is fetched from /api/index/v1/pubkey, cached five minutes and refreshed at most once per 30 seconds on failure — a rate/network behavior no annotation conveys. It also delimits what valid=true actually authenticates (canonical price fields only, not kid/sig/quality/timestamps) and warns that an invalid signature does not by itself prove tampering. This is exactly the operational context annotations cannot carry.

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 action and canonical format, then layers scope and caveats logically — no filler sentences. It is dense to the point of being a wall of text, with some run-on sentences (the recordValid/metadataSigned cluster) that could be split, but every sentence carries information an agent needs.

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?

For a 20-parameter tool with nested v2, cadence and interval objects, the description covers the v1 vs v2 verification paths, key selection, caching, result-field meaning (recordValid, verificationScope, metadataSigned, v2.signedFields, v2.mismatches) and trust limits. With an output schema present it need not enumerate return shapes, and nothing material 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 already 100%, so baseline is 3, but the description adds genuine meaning: how canonical bytes are constructed from symbol/priceText/at/grade, that 'String(price)' is the fallback when priceText is absent, and that a supplied kid pins to one exact key while kid-less prints are tried against the bounded ring. The v2 block's verification semantics (signedFields, mismatches) further explain nested parameters the schema only labels.

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?

Opening sentence gives a specific verb and object: 'Verify a signed print locally with ECDSA P-256/SHA-256.' Combined with the canonical-bytes explanation, an agent can tell this apart from retrieval siblings such as get_recorded_print without opening the 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?

Provides real decision guidance: 'Require recordValid before trusting quality fields,' 'A v1-only print has scope price-only, never verified metadata,' and the explicit exclusion 'indicative data must not be used for settlement.' It stops short of naming an alternative sibling or an explicit when-not-to-call-this-tool condition, so not a 5.

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.