Skip to main content
Glama

get_diagram_sheets

Retrieve sheet IDs and names for a Cacoo diagram so you can choose the right sheet before fetching its image, especially when diagrams have more than three sheets.

Instructions

Get the list of sheets in a Cacoo diagram, including sheet IDs and names. Use this before get_diagram_image when a diagram has many sheets (sheetCount > 3).

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": {
      "diagramId": "<diagramId>"
    },
    "name": "get_diagram_sheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
diagramIdYesCacoo diagram ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. The wording "Get the list" plus the mention of returned fields makes the read-only nature clear, but it says nothing about permissions, pagination/truncation for large diagrams, or where sheetCount is obtained (presumably list_diagrams).

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 with zero waste; the scope statement comes first and the routing guidance second. Nothing could be removed without losing information.

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 one-parameter read tool with no output schema, the description covers purpose, returned fields, and call ordering. The only gap is an unexplained sheetCount reference, which the agent may not know how to obtain.

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 100% for the single diagramId parameter, so the schema already documents it and the description adds no format or sourcing detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource ("Get the list of sheets in a Cacoo diagram") and clarifies the payload ("including sheet IDs and names"). This distinguishes it clearly from the sibling get_diagram_image, which returns an image rather than sheet metadata.

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

Usage Guidelines5/5

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

It gives an explicit decision rule: call this before get_diagram_image when a diagram has many sheets (sheetCount > 3). This names the alternative and the condition that selects it, so the agent does not have to infer ordering or thresholds.

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