Skip to main content
Glama

Propose a Cassie protocol upgrade

propose_protocol_upgrade
Idempotent

Record a protocol proposal, challenge or adoption receipt according to operation. A proposal requires title, change_type, proposal and failure_event_id; challenge requires proposal_id/reason; adopt also requires use_event_id. Requires an authenticated session and idempotency_key. It appends review records only: it cannot change code, permissions, flags or budgets. Use evaluate_protocol_upgrade for the supported declarative response-contract evaluation; unsupported candidates remain inconclusive.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "propose_protocol_upgrade"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoProposal title, 8–200 characters; required for propose.
reasonNoChallenge/adoption rationale, 20–2000 characters; required for challenge/adopt.
proposalNoRequired structured proposal for propose: proposed_change, expected_benefit, risk, evaluation_plan, rollback_plan and budget_impact. Only declarative supported candidates are evaluated.
operationNoOperation: propose (default), challenge or adopt; required fields depend on the selected operation.propose
change_typeNoChange category from the listed enum; required for propose.
proposal_idNoExisting protocol proposal ID; required for challenge/adopt and usually returned by propose.
use_event_idNoActual public event ID demonstrating use; required for adopt and must not be invented.
idempotency_keyYesRequired stable key, 8–160 characters; reuse only for the identical operation/payload.
failure_event_idNoRequired ID of accessible failure evidence for propose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "propose"
      -        }
      -      }
      -    },
      -    "then": {
      -      "required": [
      -        "title",
      -        "change_type",
      -        "proposal",
      -        "failure_event_id"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "enum": [
      -            "challenge",
      -            "adopt"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "proposal_id",
      -        "reason"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "adopt"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "use_event_id"
      -      ]
      -    }
      -  }
      -]
  2. Changed22 schema fields changed
    • addedInput schema / properties / change_type / description
      Added value: +"Change category from the listed enum; required for propose."
    • addedInput schema / properties / failure_event_id / description
      Added value: +"Required ID of accessible failure evidence for propose."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Required stable key, 8–160 characters; reuse only for the identical operation/payload."
    • addedInput schema / properties / operation / description
      Added value: +"Operation: propose (default), challenge or adopt; required fields depend on the selected operation."
    • addedInput schema / properties / proposal / description
      Added value: +"Required structured proposal for propose: proposed_change, expected_benefit, risk, evaluation_plan, rollback_plan and budget_impact. Only declarative supported candidates are evaluated."
    • addedInput schema / properties / proposal / properties / candidate / description
      Added value: +"Optional declarative response-contract candidate. Only this bounded data format is evaluated by evaluate_protocol_upgrade; other candidate types remain inconclusive."
    • addedInput schema / properties / proposal / properties / candidate / properties / kind / description
      Added value: +"Candidate kind; the only supported value is response_contract."
    • addedInput schema / properties / proposal / properties / candidate / properties / rules / description
      Added value: +"Required fixed-rule object for the bounded response-contract evaluator."
    • addedInput schema / properties / proposal / properties / candidate / properties / rules / properties / max_actions / description
      Added value: +"Maximum actions allowed by the candidate rule set, integer 0–3."
    • addedInput schema / properties / proposal / properties / candidate / properties / rules / properties / require_sources / description
      Added value: +"Whether each candidate response must cite at least one source."
    • addedInput schema / properties / proposal / properties / candidate / properties / rules / properties / require_uncertainty / description
      Added value: +"Whether each candidate response must include an uncertainty statement."
    • addedInput schema / properties / proposal / properties / candidate / properties / rules / properties / spoiler_ceiling / description
      Added value: +"Maximum spoiler level permitted by the candidate rules, integer 0–3."
    • addedInput schema / properties / proposal / properties / candidate / properties / schema_version / description
      Added value: +"Candidate schema version; the only supported value is integer 1."
    • addedInput schema / properties / proposal / properties / evaluation_plan / description
      Added value: +"Required plan for evaluating the proposal; arbitrary code or prompts are not executed."
    • addedInput schema / properties / proposal / properties / expected_benefit / description
      Added value: +"Required explanation of the intended benefit; it is a proposal, not a verified outcome."
    • addedInput schema / properties / proposal / properties / proposed_change / description
      Added value: +"Required description of the proposed change; this is recorded for review and does not alter runtime behavior."
    • addedInput schema / properties / proposal / properties / risk / description
      Added value: +"Required description of foreseeable risks or trade-offs for review."
    • addedInput schema / properties / proposal / properties / rollback_plan / description
      Added value: +"Required explanation of how a future approved change could be reversed; no rollback is performed by this tool."
    • addedInput schema / properties / proposal_id / description
      Added value: +"Existing protocol proposal ID; required for challenge/adopt and usually returned by propose."
    • addedInput schema / properties / reason / description
      Added value: +"Challenge/adoption rationale, 20–2000 characters; required for challenge/adopt."
    • addedInput schema / properties / title / description
      Added value: +"Proposal title, 8–200 characters; required for propose."
    • addedInput schema / properties / use_event_id / description
      Added value: +"Actual public event ID demonstrating use; required for adopt and must not be invented."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), it discloses that an authenticated session is required, that the idempotency key gates duplicate writes, that it appends review records only, that it cannot change code/permissions/flags/budgets, and that no rollback or code execution occurs. These are exactly the safety facts an agent needs for a mutating governance tool.

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?

Three dense sentences, front-loaded with the action and the operation-dependent requirements, then constraints, then the sibling redirect. Slightly telegraphic in places ('challenge requires proposal_id/reason') but no sentence is wasted.

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 9-parameter, nested, mutation-style tool with no output schema, the description covers auth, idempotency, side-effect limits and per-operation requirements. It omits what a call returns (the proposal_id is only hinted at inside the schema field description), which is the main remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds genuinely new meaning by expressing the conditional requiredness of fields per operation, which the schema's top-level 'required' list (only idempotency_key) does not convey. It does not restate the enum values or length bounds, which is appropriate.

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 ('Record') plus the resource (protocol proposal, challenge or adoption receipt) and ties the record type to the 'operation' parameter, so an agent knows exactly what is written. It also names the sibling it is not (evaluate_protocol_upgrade), which separates recording from evaluation.

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 conditional when-to-use guidance per operation ('propose requires title, change_type, proposal and failure_event_id; challenge requires proposal_id/reason; adopt also requires use_event_id') and routes unsupported declarative candidates away to evaluate_protocol_upgrade. It lacks explicit when-not-to-use framing beyond the candidate-type caveat, but the routing is clear.

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