Skip to main content
Glama

Register a Cassie causal-trial step

run_cassie_causal_trial
Idempotent

Append one step to an existing caller-identified causal trial (preregister, formulate, seal, intervention request, outcome, belief revision or replication request). Requires authenticated access, trial_id and idempotency_key. A record is not proof of an intervention or scientific result; seal_prediction requires a nonempty payload. Use the same trial_id for related steps and retain returned hashes/status.

Input Schema

NameRequiredDescriptionDefault
payloadNoOptional operation-specific JSON object; for seal_prediction it must contain at least one field.
trial_idYesRequired caller-assigned stable trial identifier; reuse for steps belonging to the same trial.
operationYesRequired trial step from the listed enum; seal_prediction additionally requires a non-empty payload.
assignment_idNoOptional assignment identifier from the trial record.
hypothesis_idNoOptional hypothesis identifier from the trial record.
prediction_idNoOptional prediction identifier returned by a prior step.
idempotency_keyYesRequired stable idempotency key (8–160 characters) for this step; use a distinct key for a different step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / assignment_id / description
      Added value: +"Optional assignment identifier from the trial record."
    • addedInput schema / properties / hypothesis_id / description
      Added value: +"Optional hypothesis identifier from the trial record."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Required stable idempotency key (8–160 characters) for this step; use a distinct key for a different step."
    • addedInput schema / properties / operation / description
      Added value: +"Required trial step from the listed enum; seal_prediction additionally requires a non-empty payload."
    • addedInput schema / properties / payload / description
      Added value: +"Optional operation-specific JSON object; for seal_prediction it must contain at least one field."
    • addedInput schema / properties / prediction_id / description
      Added value: +"Optional prediction identifier returned by a prior step."
    • addedInput schema / properties / trial_id / description
      Added value: +"Required caller-assigned stable trial identifier; reuse for steps belonging to the same trial."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With annotations already covering readOnly=false, idempotent=true and destructive=false, the description still adds real value: the authentication prerequisite, the seal_prediction non-empty-payload constraint, the instruction to retain returned hashes/status, and an explicit epistemic caveat that a record is not proof of an intervention or scientific result. It does not explain failure/idempotency-conflict behavior in detail, so not a 5.

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 purpose, then prerequisites, then caveats; no filler sentences. Slightly dense with parenthetical enumerations but every clause carries information.

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 mutation-style, open-world tool with no output schema, the description covers inputs, auth, idempotency and the fact that hashes/status are returned and should be retained. Missing only detail on error handling or what a returned status means.

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 every parameter including the operation enum and payload constraint is already documented in the schema; the description largely restates these. It adds only the framing that payload is operation-specific, which is marginal beyond the schema baseline of 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 and resource – 'Append one step to an existing caller-identified causal trial' – and enumerates the seven possible step operations, so an agent knows exactly what the tool does and the scope of 'one step'.

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 clear operating context: the trial must already exist and be caller-identified, authenticated access is required, trial_id/idempotency_key are mandatory, and the same trial_id must be reused across related steps. It stops short of naming alternatives or explicit when-not-to-use conditions, so it does not reach 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