Skip to main content
Glama

get-document

Retrieve a specific Lucid document by ID to inspect its details, optionally exporting a page as a PNG image for analysis.

Instructions

Get a specific Lucid document by its ID. Extract document ID from Lucid URL or use known document ID. Supports image export.

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": {
      "documentId": "<documentId>"
    },
    "name": "get-document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage ID to export (default: '0_0')
documentIdYesThe ID of the Lucid document to retrieve. Can be extracted from URLs like https://lucid.app/lucidchart/{id}/edit
analyzeImageNoIf true, export the diagram as a PNG image (default: false, returns metadata only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Get' usefully signals a read-only retrieval and 'Supports image export' flags the optional heavy-weight mode, but nothing is said about authentication requirements, what the metadata-only response contains, or limits on PNG export size.

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 with the core operation front-loaded and no padding. The middle sentence partially repeats the schema's documentId guidance, which is the only redundancy.

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 three-parameter read tool with a fully described schema and no output schema, this is nearly sufficient: the operation, ID sourcing, and image-export option are all covered. The one remaining gap is what 'metadata only' actually returns, which the schema only alludes to.

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%, so documentId, pageId, and analyzeImage are already fully documented including the URL-extraction hint and the default page '0_0'. The description's ID-extraction sentence merely echoes the schema, adding no new meaning beyond it.

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?

The description uses a specific verb and resource ('Get a specific Lucid document by its ID') and adds that image export is supported, so an agent knows exactly which operation this performs. It does not explicitly differentiate itself from siblings like get-document-tabs, which is why it falls short of a 5.

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?

It gives practical context for obtaining the required ID ('Extract document ID from Lucid URL or use known document ID'), which implies when the tool applies. However it offers no when-not guidance and never points to alternatives such as get-document-tabs or search-documents for discovering an unknown ID.

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