Skip to main content
Glama

Void a prediction before its date (kept, with the reason; cannot be undone)

void_prediction
DestructiveIdempotent

Cancel a prediction with a reason before its date starts, keeping it in the ledger but excluding it from scoring permanently. Use to withdraw an early call without hiding it.

Instructions

Voids a prediction with a reason, only on a day strictly BEFORE the prediction's date (once its date has begun it can no longer be voided: it will be scored whatever the caller now thinks). The prediction stays in the ledger with the reason and is never scored; get_prediction_stats counts voided predictions separately, so voiding cannot hide one. A scored prediction cannot be voided. Voiding twice changes nothing and returns the first void (alreadyVoided: true). Local file only (predictions.json): never contacts Suunto, needs no credentials. Output: { id, voided: { at, reason }, alreadyVoided }. Not read-only; annotated destructive because a void cannot be undone (nothing is removed from the file, but the prediction is out of the scoring for good); idempotent.

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>",
      "reason": "<reason>"
    },
    "name": "void_prediction"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe prediction's id, e.g. 'p3'.
reasonYesWhy it is withdrawn.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the prediction stays in the ledger with the reason, is never scored, and is counted separately by get_prediction_stats, plus that it is local-file only with no credentials or Suunto contact. It also reconciles the destructiveHint with reality ('nothing is removed from the file, but the prediction is out of the scoring for good') and spells out the return shape. The only thin spot is that the idempotentHint is restated rather than given new context.

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 its constraint, and nearly every clause carries information (edge cases, persistence, output shape). It is a dense single paragraph with stacked parentheticals, which slightly hurts scanability but introduces no filler.

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?

No output schema exists, yet the description supplies the return object ({ id, voided: { at, reason }, alreadyVoided }), the persistence semantics, and the error-precondition. Nothing an agent needs to invoke it correctly appears to be 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 both required parameters (id, reason) are already documented with length bounds and an example. The description adds only a light gloss ('with a reason') and echoes the id in the output shape, so baseline 3 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?

Opens with a specific verb and resource ('Voids a prediction with a reason') and immediately scopes it with a precise precondition ('only on a day strictly BEFORE the prediction's `date`'). An agent can distinguish this from neighboring stats/logging tools without opening any schema.

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

Usage Guidelines5/5

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

States explicit when-not conditions: a prediction whose date has begun 'can no longer be voided: it will be scored whatever the caller now thinks', and 'A scored prediction cannot be voided.' It also defines repeat-call behavior ('Voiding twice changes nothing and returns the first void'), leaving essentially no ambiguity about when to call it.

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