Skip to main content
Glama

Contest Verdict

contest_verdict

Contest a final cross-review verdict and start a new deliberation cycle with a linked session, preserving the original chain of custody.

Instructions

v2.14.0 — formally contest a final verdict and open a new deliberation cycle. The reason accepts at most 4,000 characters. Requires the verified capability token of the persisted session petitioner (pass caller explicitly as that peer identity). Petitioner READY → nothing to do: the runtime already sealed converged; petitioner NOT_READY → contest_verdict. Stamps the original session's meta with a contestation record (timestamp + reason + original_outcome + new_session_id) and initializes a NEW session whose contests_session_id points back to the contested session, preserving the chain of custody append-only across sessions. The original session must be in a final state (converged/aborted/max-rounds); contesting an in-flight session throws cannot_contest_in_flight_session. Once contested, a session cannot be contested again (chain-of-custody invariant) — contest the LATEST session in the chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callerYes
reasonYes
new_taskYes
new_callerNo
session_idYes
response_formatNojson
new_initial_draftNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.4.18
    • removedInput schema / properties / caller / default
      Removed value: -"operator"
    • changedInput schema / properties / caller / enum
      Previous value: -[
      -  "codex",
      -  "claude",
      -  "gemini",
      -  "deepseek",
      -  "grok",
      -  "perplexity",
      -  "operator"
      -]New value: +[
      +  "codex",
      +  "claude",
      +  "gemini",
      +  "deepseek",
      +  "grok",
      +  "perplexity"
      +]
    • changedInput schema / properties / new_caller / enum
      Previous value: -[
      -  "codex",
      -  "claude",
      -  "gemini",
      -  "deepseek",
      -  "grok",
      -  "perplexity",
      -  "operator"
      -]New value: +[
      +  "codex",
      +  "claude",
      +  "gemini",
      +  "deepseek",
      +  "grok",
      +  "perplexity"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "session_id",
      -  "reason",
      -  "new_task"
      -]New value: +[
      +  "session_id",
      +  "reason",
      +  "new_task",
      +  "caller"
      +]
  2. Addedv4.4.12
  3. Removedv4.4.11
  4. First observedv4.4.8

TDQS

A4.1/5.0
Behavior5/5

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

The description richly discloses side effects and invariants beyond the write-only annotation: it stamps a contestation record on the original session, initializes a new session with a back-link, preserves chain of custody, and throws specific errors for in-flight sessions. It also notes the authentication requirement (capability token). This fully covers the behavioral profile even though annotations are minimal.

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?

The description is dense and verbose, but it is front-loaded with the core purpose and then provides necessary details. The sentence structure is logical (purpose, constraints, preconditions, side effects, invariants). While it could be trimmed, the complexity of the operation justifies most of the length. Every sentence contributes to understanding the tool.

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 complex tool with no output schema, the description covers preconditions, postconditions, side effects, error conditions, and invariants. It does not describe the return value or what the new session's response looks like, which could be important, but the absence of an output schema makes it acceptable. Overall, it is reasonably complete for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain all parameters. It only mentions `caller` and `reason` (with the 4000-character limit), but leaves `session_id`, `new_task`, `new_caller`, `response_format`, and `new_initial_draft` undocumented. For a 7-parameter tool, this is a significant gap. The description adds some value for two parameters but doesn't compensate for the rest.

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?

The description clearly states the tool's purpose: to contest a final verdict and open a new deliberation cycle. It uses specific verbs and resource nouns ('contest', 'final verdict', 'new deliberation cycle'), and the context clearly differentiates it from sibling tools like session_init or session_finalize. The chain-of-custody detail further clarifies its unique role.

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 description provides explicit conditional guidance: use it when petitioner is NOT_READY, not when READY, and only against a final-state session. It also warns about contesting the latest session and that a session cannot be contested twice. While it doesn't name specific alternative tools, these conditions are sufficient to guide selection. The precondition about the capability token is also clearly stated.

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