Skip to main content
Glama

Batch update

batch_update
DestructiveIdempotent

Replace the documents of several visuals at once, keyed by each visual's ref. Needs an API key: with none yet, call signup first.

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": {
      "dashboardId": "<dashboardId>",
      "data": "<data>"
    },
    "name": "batch_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe new documents, keyed by the ref of the visual each one replaces, so one call keeps a whole dashboard fresh. Each is read as PUT /v1/visuals/{id}/data reads it (whole document, numeric strings coerced). Every entry is tried in the order sent: 200 when all were written, 422 batch_failed with the same results when any was not.
dashboardIdYesThe dashboard's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds a genuine non-annotation fact — the API key prerequisite and signup fallback — but does not state that the whole document is replaced (destroying existing content) or that failures are partial.

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 sentences, zero waste. The action is front-loaded and the auth prerequisite follows immediately, with nothing redundant or padded.

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 destructive batch mutation with a fully documented nested schema and no output schema, the description covers the action and the auth prerequisite adequately. It leans on the schema for atomicity and failure semantics, which is acceptable given 100% coverage, but a one-clause note that the whole document is overwritten would close the remaining gap for an agent reading only the prose.

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% and the nested 'data' object already explains ref-keying, the PUT semantics, and the 200/422 batch_failed outcomes. The description's only parameter-adjacent content ('keyed by each visual's ref') restates the schema, so baseline 3 applies.

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 scope: 'Replace the documents of several visuals at once, keyed by each visual's ref.' This distinguishes batch replacement from single-visual edits, though it never names the sibling tools (update_visual, push_visual_data) it should be chosen over.

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?

Provides one clear usage condition: 'Needs an API key: with none yet, call signup first,' which routes the agent to the signup sibling. It does not say when to prefer this over update_visual for a single visual or push_visual_data/append_rows for partial writes, so the batch-vs-single choice is only implied by 'several visuals at once.'

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.

Resources