Skip to main content
Glama

Seal a prediction before the outcome is known

thesia_seal_prediction

Lock a prediction (a creative comparison ranking, a video analysis, a study or a manual payload) with a SHA-256 hash and timestamp, so it can later be compared with what really happened. Pass source_id to seal a finished simulation, or payload for a manual prediction. Returns the id, hash and sealed payload.

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": {
      "source_kind": "<source_kind>",
      "label": "<label>"
    },
    "name": "thesia_seal_prediction"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesShort name, e.g. 'Spring campaign, 3 creatives'.
payloadNoPrediction content; required for 'manual'.
source_idNoId of the comparison, video analysis or study run.
source_kindYesWhat is being sealed.

Output Schema

NameRequiredDescriptionDefault
idNo
sourceYes
payloadNo
createdAtNo
payloadSha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description goes beyond them by specifying that the operation produces an immutable hash plus timestamp and returns the id, hash and sealed payload. It does not state whether sealing is irreversible or what happens if the same source is sealed twice, which is the main remaining behavioral gap for a write operation.

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?

Three sentences, front-loaded with what the tool does and why, followed by the routing rule and the return shape. Nothing is padded and no sentence merely repeats the name or title.

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 an output schema present, the return-value sentence is a helpful extra rather than a necessity, and all four parameters are covered by the schema. The definition is nearly complete for a write tool; only irreversibility and repeat-seal behavior are unaddressed.

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%, so the schema already documents label, payload, source_id and source_kind including the 'required for manual' condition. The description restates that conditional relationship as an either/or routing rule, which adds modest usability but little new meaning; the baseline 3 for full coverage applies.

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 and resource ('Lock a prediction') plus the mechanism (SHA-256 hash and timestamp) and the downstream reason ('so it can later be compared with what really happened'). The parenthetical enumerates what counts as a prediction, and the source_id/payload sentence separates it from adjacent flows like verifying or recording an outcome.

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?

'Pass source_id to seal a finished simulation, or payload for a manual prediction' gives clear routing between the two operating modes, both keyed to source_kind. It lacks an explicit when-not-to-use clause (e.g. that an already-resolved run should go to thesia_record_outcome instead), which keeps it below 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.

Resources