Skip to main content
Glama

Remove Page

remove_page

Delete an entire Power BI report page by ID or display name while preventing removal of the last remaining page.

Instructions

Delete a whole page (id or display name). Cannot remove the last page.

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": {
      "pbip_path": "<pbip_path>",
      "page": "<page>"
    },
    "name": "remove_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
pbip_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description must carry the behavioral burden. It discloses one important invariant (the last page cannot be deleted), but omits what happens to the page's visuals/measures, whether deletion is reversible, and what the response contains.

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 short clauses with the mutation verb front-loaded and the key constraint immediately after. Nothing is padded or 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 simple two-parameter destructive operation with an output schema, the definition covers purpose, targeting syntax, and the critical guard rail. The unexplained pbip_path is the only notable gap.

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 coverage is 0%, so the description must compensate. It usefully adds that 'page' accepts either an id or a display name, but leaves 'pbip_path' completely unexplained — an agent must guess it is the path to the PBIP project directory.

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 resource: 'Delete a whole page', which is distinguishable from remove_visual and add_page by the 'whole page' scope. It does not explicitly name a sibling to contrast with, keeping it below a 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 only usage rule is a precondition — 'Cannot remove the last page' — which is genuinely useful. There is no guidance on when to prefer this over alternatives such as remove_visual, nor any note on prerequisites or confirmation.

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