Skip to main content
Glama

Restore charts

restore_charts
Idempotent

Datawrapper: restore charts from the trash (deleted within the last 30 days). Find them with search_charts(deleted: true).

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": {
      "chart_ids": "<chart_ids>"
    },
    "name": "restore_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
chart_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the description only needs to add context. It does add genuine value with the 30-day retention window and the trash prerequisite, neither of which is in the annotations. It says nothing about partial-failure behavior when restoring a batch of up to 100 IDs, which is the main remaining unknown for a mutation tool.

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?

Two tight sentences with the constraint parenthesized and the workflow pointer second, so the key scoping fact is front-loaded. Every clause earns its place; nothing is repeated from the title or annotations.

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?

For a one-parameter tool with annotations carrying the safety profile and no output schema, the description covers purpose, prerequisite, and recovery window adequately. It is thin on batch semantics (max 100 IDs, all-or-nothing vs. per-ID results) and on what a successful call returns, which matters for a bulk mutation.

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% and the description never mentions chart_ids, its 1-100 element bounds, or the 5-character ID format enforced by the pattern. The pointer to search_charts(deleted: true) implicitly tells the agent where valid IDs come from, which is the only semantic added beyond the raw schema.

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?

States a specific verb and resource ("restore charts from the trash") plus the operative scope constraint ("deleted within the last 30 days"). An agent can distinguish this from delete_chart (moves to trash), search_charts (finds them), and get_chart without opening any schema.

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 a concrete precondition (the chart must be in the trash) and routes the agent to the prerequisite workflow by naming search_charts(deleted: true) to obtain the IDs. It stops short of explicit when-not-to-use guidance, e.g. what to do for charts deleted longer than 30 days or that were never deleted.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.