Skip to main content
Glama
OpenCDR MCP

OpenCDR MCP

Official
by dbnz-io

opencdr_ir_roles_list

Read-onlyIdempotent

List read-only incident-response role mappings to identify which IAM role the responder assumes in each AWS account, and supply agent_id in fleet mode.

Instructions

List IR role mappings (which IAM role responder assumes per AWS account). 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_roles_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

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so 'Read-only' partly repeats structured data. The description earns its keep by disclosing the fleet-versus-core mode split that determines how agent_id must be set, a behavior the annotations cannot express. It says nothing about pagination behavior or result shape beyond the parenthetical, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the purpose and parenthetical explanation, then the mode constraint. No filler, no repetition, and the most decision-relevant information (the agent_id rule) comes last where it is easy to scan after the purpose.

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

Completeness3/5

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

There is no output schema, so the caller gets no structured return documentation; the parenthetical gives a conceptual sketch of a mapping but not the field layout. Pagination semantics for page_size and next_token are also unaddressed. For a simple read-only list tool with a strong annotation set this is adequate but leaves clear gaps.

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 description coverage is 0%, so the description must compensate for three undocumented parameters. It explains agent_id well via the fleet/core rule, but page_size and next_token are left entirely to their names, with no hint about defaults, maximums, or token reuse. Roughly one of three parameters receives genuine semantic enrichment.

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 ('List IR role mappings') and adds a parenthetical that explains the domain meaning ('which IAM role responder assumes per AWS account'). Together with 'Read-only' this makes the tool's job legible without opening the schema, though it does not explicitly contrast itself with opencdr_ir_roles_get, relying on the list/get naming pattern to do that work.

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 actionable conditional guidance: in fleet mode pass agent_id explicitly, in core mode leave it unset. That is real when-to-use information about deployment modes rather than a restatement of the name. It stops short of naming alternatives or when-not-to-use conditions, but the mode rule covers the main decision the caller faces.

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