Skip to main content
Glama
OpenCDR MCP

OpenCDR MCP

Official
by dbnz-io

opencdr_ir_actions_list

Read-onlyIdempotent

Lists executed incident-response actions eligible for rollback, optionally filtered by agent ID. Use it to review reversible IR actions before rollback decisions.

Instructions

List executed, rollback-eligible IR actions. Read-only.

In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "opencdr_ir_actions_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
page_sizeNo
next_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Agent Id"
      +}
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the 'Read-only' sentence adds nothing beyond structured data. The fleet/core deployment distinction for agent_id is genuine added behavioral context, but pagination behavior and result ordering go undisclosed.

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 short sentences, front-loaded with the purpose. Minimal waste, though the 'Read-only' sentence largely duplicates the annotation and could have been spent on pagination or return-shape detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a paginated list tool with no output schema, no parameter descriptions, and no explanation of what a returned action record contains or how next_token is obtained. The description covers deployment mode but leaves the agent guessing about result shape and paging workflow.

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 description coverage is 0% across all three parameters, so the description must carry the load. It explains only agent_id (fleet vs core mode); page_size and next_token are left entirely undocumented in both schema and description, and no defaults or token semantics are given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with a scope qualifier: 'List executed, rollback-eligible IR actions.' The verb/resource pair distinguishes it from the 'get' sibling by name convention alone, though it never explicitly contrasts the two.

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

Usage Guidelines3/5

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

Gives a conditional usage rule for one parameter ('In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset.'), which is useful context. However, there is no when-to-use/when-not guidance relative to opencdr_ir_actions_get or any other sibling, so selection is only implied.

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