Skip to main content
Glama

excel_update_chart

Modify an existing Excel chart to use a new data range by providing the workbook, worksheet, chart index, and start/end cells.

Instructions

Update chart data

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": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "chartIndex": "<chartIndex>",
      "dataStartCell": "<dataStartCell>",
      "dataEndCell": "<dataEndCell>"
    },
    "name": "excel_update_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
worksheetYesWorksheet name
chartIndexYesChart index (0-based)
dataEndCellYesNew data end
dataStartCellYesNew data start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a mutation tool. It does not say whether the original data range is replaced, whether the data must already exist in the worksheet, whether the operation is reversible, or what happens on failure — 'Update chart data' discloses almost nothing beyond the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words with no waste, but this is under-specification rather than conciseness. For a five-required-parameter mutation tool, the description is not appropriately sized, and nothing beyond the bare action is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five required parameters, no annotations, and no output schema, the description needs to explain preconditions and range-replacement behavior. It does neither, leaving the agent without the context needed to call this correctly on an existing chart.

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 the schema already explains filename, worksheet, chartIndex, dataStartCell, and dataEndCell. The description adds no additional meaning, but the baseline of 3 applies 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.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb plus resource ('update chart data'), which is enough to tell it is not excel_add_chart or excel_delete_chart, but it never says it repoints an existing chart's source range rather than editing series, titles, or formatting. The purpose is implied rather than stated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus excel_add_chart or excel_delete_chart, no precondition that the chart must already exist, and no mention of what happens if the chart index is out of range. The agent must infer everything from the name.

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

Deploy Server

Other Tools