Skip to main content
Glama
OpenCDR MCP

OpenCDR MCP

Official
by dbnz-io

opencdr_lists_list

Read-onlyIdempotent

Read one page of list metadata and pass next_token to continue pagination. Set agent_id explicitly in fleet mode; leave it unset in core mode.

Instructions

Read one page of list metadata. Pass next_token to continue.

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_lists_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
page_sizeNo
next_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • addedInput schema / properties / agent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Agent Id"
      +}
    • addedInput schema / properties / next_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Next Token"
      +}
    • addedInput schema / properties / page_size
      Added value: +{
      +  "default": 100,
      +  "title": "Page Size",
      +  "type": "integer"
      +}
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real behavioral context on top: pagination is page-by-page and driven by next_token, and agent_id semantics differ by deployment mode. It stops short of describing what happens at the end of the result set or the default page size.

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?

Three short sentences, zero filler, with the core purpose front-loaded and the two conditional behaviors following. Nothing repeats the tool name or the schema verbatim.

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 simple 3-optional-parameter list tool with no output schema, the description supplies the essentials: what a call returns, how to advance pages, and how agent_id changes by mode. The only real omission is page_size guidance and any hint of the shape of the returned list metadata.

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. It explains next_token (continuation cursor) and agent_id (fleet vs core mode) meaningfully, but leaves page_size entirely unexplained, which matters for a paginated listing.

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?

Specific verb plus resource plus scope: 'Read one page of list metadata' tells the agent exactly what is returned (list metadata) and that it is paginated. It does not explicitly contrast with opencdr_lists_show, so sibling differentiation is only implied by the 'one page' framing.

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 two concrete operational rules: pass next_token to continue paging, and set agent_id only in fleet mode (leave unset in core mode). It never states when to use this list tool versus opencdr_lists_show or the other list tools, so usage is implied rather than contrasted.

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