Skip to main content
Glama

commit_visual

Add a Vilsem Renderer visual to an existing PBIR page, register missing renderer resources, and keep native visuals, slicers, filters, themes, and model objects unchanged.

Instructions

Add one Vilsem Renderer visual to one existing PBIR page using @vilsem/core. Existing visual names are refused; the only additional changes are missing renderer resources and registration. Native visuals, slicers, bookmarks, filters, themes and model objects are not edited. After committing, relay the returned nextStep to the user verbatim.

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": {
      "reportDir": "<reportDir>",
      "pageName": "<pageName>",
      "visualName": "<visualName>",
      "spec": "<spec>",
      "bindings": "<bindings>",
      "layout": "<layout>"
    },
    "name": "commit_visual"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
layoutYes
saveAsNo
bindingsYes
pageNameYes
reportDirYes
visualNameYes
connectionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.2
    • addedInput schema / properties / saveAs
      Added value: +{
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / bindings / properties / measures / maxItems
      Previous value: -3New value: +6
    • addedInput schema / properties / connectionId
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  3. First observedv0.6.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that existing visual names are refused, that only missing renderer resources and registration are changed additionally, and which object types are not edited. It still omits permissions, reversibility, failure behavior beyond refusal, and transactional guarantees 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?

The description is compact and front-loads the core purpose before constraints and post-action behavior. Each sentence contributes useful scope or instruction, and the final verbatim nextStep instruction is clear. The density of product-specific terms slightly reduces immediate readability, but nothing is extraneous.

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?

This is a complex mutation tool with 8 parameters, required nested objects, no annotations, and no output schema. The description covers purpose, some side effects, and a post-commit instruction, but it leaves most parameter semantics undocumented. An agent could understand the high-level action yet still lack enough guidance to populate spec, bindings, layout, and connectionId correctly.

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% across 8 parameters, so the description must compensate and largely does not. It implies pageName and visualName through mentions of an existing PBIR page and refusal of existing visual names, but it gives no meaning for reportDir, spec, bindings, layout, connectionId, or saveAs. The nested bindings and layout objects are especially unexplained.

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 description states a specific verb and resource: adding one Vilsem Renderer visual to one existing PBIR page using @vilsem/core. It distinguishes this from modifying existing visuals by noting that existing visual names are refused. It stops short of explicitly naming which sibling to use for updates or previews, so a 4 rather than 5.

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?

The description implies when to use it: to add one new visual to an existing page, with existing visual names refused. It also scopes out native visuals, slicers, bookmarks, filters, themes, and model objects. However, it does not explicitly route the agent to an alternative tool for editing existing visuals or for read-only exploration.

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