Skip to main content
Glama
surplus-mcp

surplus-mcp

Official
by surplusrh

Confidential inference receipt

get_tee_receipt
Read-only

Retrieve the signed TEE receipt for a confidential response by receipt ID to verify it ran inside the enclave.

Instructions

Fetch the signed TEE receipt for one of your confidential (tee/…) responses, to verify it ran inside the enclave.

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": {
      "id": "<id>"
    },
    "name": "get_tee_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesReceipt id from the x-surplus-tee-receipt header

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that the receipt is signed and tied to enclave execution, but says nothing about failure modes (e.g., requesting a receipt for a non-tee response), retention of receipts, or what the payload contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the verb and resource, with the qualifying scope and the verification purpose packed in without waste.

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?

For a single-parameter read with no output schema, the definition covers what is returned (a signed receipt), which requests it applies to, and its purpose. It could say more about what the receipt contains or how verification works, but nothing essential to calling it correctly is missing.

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?

Schema coverage is 100% and already documents the single id field, including its source in the x-surplus-tee-receipt header. The description only restates that the id belongs to a confidential response, adding no format, sourcing, or validation detail beyond the schema — baseline 3.

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 specific verb (Fetch), a specific resource (the signed TEE receipt), the scope it applies to (confidential tee/… responses), and the reason (verify it ran inside the enclave). None of the siblings (get_balance, get_usage, chat, list_models) overlap with this, so an agent can route to it 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?

The condition for use is explicit: only for responses that were confidential (tee/…) and only when the caller wants to verify enclave execution. It stops short of naming an alternative or stating what to do when a response is not a tee response, so it is clear context rather than full when/when-not guidance.

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