Skip to main content
Glama

Add dashboard charts to report

addReportDashboardElements

Adds charts of a Tableau view or Power BI page the report holds as a picture, each as a datasheet of its own: its data, to read with getReportDatasheetData or queryReportData and draw on a slide, its picture, or both. Pass the picture's datasheet id, from addReportDatasheets or listReportDatasheets, and the refs of the charts getReportDatasheet lists for it. Each chart is read with the dashboard's filters and the user's access to the connection, and a chart the report already reads that way is reused. Reading a dashboard can take a minute: past the wait the call answers that the source is still being read, so send the same call again, which reuses what the first one added. It runs one at a time with your queryReportData, previewReportDatasheetChanges and saveReportDatasheetChanges calls: send it once they answer. Only the report's editors may.

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": {
      "params": "<params>",
      "body": "<body>"
    },
    "name": "addReportDashboardElements"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesWhat the tool creates, changes or sends
paramsYesThe ids of what the tool acts on
idempotencyKeyNoA unique value, such as a UUID, that makes retrying this call safe. A retry with the same key within 24 hours answers the first call's result instead of running it again. Use a new key for each new call. From 1 to 255 printable ASCII characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations it discloses latency (a dashboard read can take a minute), the timeout answer and the retry pattern, that a chart already read the same way is reused, that each chart inherits the dashboard's filters and the caller's connection access, and that editors are required. The only soft spot is tension with idempotentHint=false: the text says resending reuses what the first call added, which reads as partial idempotency, though it is scoped to the still-reading timeout case and the idempotencyKey parameter still governs real retries, so it is not a true contradiction.

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

Conciseness3/5

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

The purpose is front-loaded and nearly every clause carries real information, but the whole thing is one sprawling colon-and-semicolon chain that is hard to scan. Splitting the output-shape sentence, the retry/timeout behavior and the concurrency rule into separate sentences would preserve the content with far less friction.

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 nested-body write tool with three parameters and no output schema, the description covers latency, retry, sequencing, permissions and where every input value comes from. The main remaining gap is that it never says what a successful response contains (presumably the added datasheet ids or a summary), which matters more without an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 is the baseline, but the description adds provenance beyond the schema: it names the sibling tools that supply datasheetId and ref, and explains that ref may be a comma-joined set of worksheet refs for a multi-worksheet Tableau table (the schema says this too, but the description reinforces it). It does not explain idempotencyKey at all, leaving that entirely to the schema.

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 opening sentence names a specific verb and resource — it adds dashboard charts (Tableau view / Power BI page) into a report as their own datasheets, in data, picture, or both forms. It is distinguishable from addReportDatasheets because it explicitly consumes a datasheet the picture already lives in rather than creating the datasheet itself. The clause chain with colons and semicolons makes the purpose slower to parse than it needs to be, costing the top mark.

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?

It gives a full workflow: obtain the picture's datasheet id from addReportDatasheets or listReportDatasheets, then take refs from getReportDatasheet for that dashboard. It also states a hard sequencing rule (runs one at a time with queryReportData, previewReportDatasheetChanges and saveReportDatasheetChanges, so send it only after they answer) and a permission gate (editors only). That is explicit when-to-use, prerequisite and exclusion guidance.

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