Skip to main content
Glama

Update block

report_update_block
Destructive

Replace the complete config of one existing block. Returns the updated blocks or validation issues. Preview with report_preview_block first; use report_add_block to append a new block.

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>",
      "blockId": "<blockId>",
      "config": "<config>"
    },
    "name": "report_update_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesTemplate config using listed fields
blockIdYesID
dashboardIdYesID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / blockId / description
      Previous value: -"Block ID"New value: +"ID"
    • changedInput schema / properties / dashboardId / description
      Previous value: -"Dashboard ID"New value: +"ID"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false; the description adds beyond them by making explicit that the config is fully replaced (not merged) and by disclosing the return payload as 'the updated blocks or validation issues.' That validation-issue outcome is the key behavioral fact an agent needs for error handling. It stops short of saying what happens to fields omitted from the config or whether existing blocks outside the target are touched, which for a destructive operation would be the final piece.

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 in a deliberate order: what it does, what it returns, then which siblings to consider. The destructive-scope statement is front-loaded and no sentence is redundant.

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 3-parameter mutation tool with no output schema, the description covers purpose, return shape, and sibling routing adequately, and the annotations carry the safety profile. The only shortfall is that replacement semantics (what happens to omitted config keys) are implied rather than stated for a destructive, non-idempotent write.

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 parameters are named blockId, dashboardId, and config, so the schema already carries most of the load. The description adds one useful nuance, that the config is a complete replacement rather than a partial merge, but gives no guidance on the template-config fields referenced by 'Template config using listed fields.' Baseline 3 is appropriate.

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 precise verb and scope: 'Replace the complete config of one existing block,' which tells the agent this is a whole-config overwrite of a single existing block, not a partial patch or a creation. It names the sibling difference ('use report_add_block to append a new block') so the agent can discriminate without opening schemas.

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?

Gives explicit routing: preview first with report_preview_block, and use report_add_block for appending. Both the recommended predecessor tool and the correct alternative for a neighboring intent are named, with the condition that selects each.

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.