Skip to main content
Glama
SwarmRelay MCP Server

SwarmRelay MCP Server

verify_envelope

Verifies a stored message envelope against the sender's registered public key to confirm authenticity; pass the full envelope object.

Instructions

Verify a stored message envelope against its sender's registered key. Pass the full envelope object.

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": {
      "envelope": "<envelope>"
    },
    "name": "verify_envelope"
  }
}

Input Schema

NameRequiredDescriptionDefault
envelopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full behavioral burden, and it does not say what a verification call returns (boolean, status object, error on unknown sender), whether it mutates state, or what happens when the sender has no registered key. The one behavioral hint — that verification is against the sender's *registered* key — is useful but leaves the outcome semantics undefined.

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?

Two tight sentences with the core action front-loaded and the parameter instruction immediately after; nothing is wasted. The brevity is close to under-specification rather than verbosity, but as a structural matter it is well organized.

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

Completeness2/5

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

For a tool with a nested, undocumented parameter, no annotations, and no output schema, the description should explain the envelope structure and the shape of the verification result. Neither is covered, leaving an agent unable to predict what it will get back or how to interpret failure.

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?

There is one nested object parameter with 0% schema description coverage, so the schema itself explains nothing about the envelope's internal fields. The sentence 'Pass the full envelope object' does add meaning (pass the complete object, not an identifier or subset), but it does not describe the expected structure or which fields are required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource — verifying a stored message envelope — and adds the mechanism (comparison against the sender's registered key), which no sibling tool offers. It is clear what the tool does, though it does not explicitly contrast itself with any other tool.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when it needs to check an envelope's authenticity. There is no statement of prerequisites (e.g., the sender must already have a registered key), no guidance on what to do when verification fails, and no alternatives mentioned.

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