Skip to main content
Glama

Add Page

add_page

Add a report page to a .pbip project and return its page_id so you can add visuals. Set the project path, display name, and optional dimensions.

Instructions

Add a report page to a project. Returns the page_id for add_visual.

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>",
      "display_name": "<display_name>"
    },
    "name": "add_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
heightNo
pbip_pathYes
display_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 burden. It discloses the mutation ("Add") and the returned page_id plus its downstream consumer, which is genuinely useful, but it omits side effects (whether the page is written to disk), preconditions on pbip_path, and failure behavior.

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?

Two short sentences with the core action front-loaded and no filler. The second sentence is terse to the point of being cryptic ("for add_visual"), but nothing is wasted.

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

Completeness3/5

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

An output schema exists, so return values need not be re-explained, and the description correctly points to the chaining consumer. Still, for a file-mutating tool with zero annotation coverage and completely undocumented parameters, an agent lacks the context needed to call it safely the first time.

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 four parameters, and the description adds no meaning for any of them. pbip_path and display_name are entirely undocumented in both places, and width/height defaults are visible only in the schema with no explanation of units or effect.

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 ("Add a report page to a project"), which is clearly distinct from sibling remove_page and adjacent to add_visual. It is unambiguous what object is created, though it does not explicitly contrast itself with the other add_* tools.

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 phrase "Returns the page_id for add_visual" implies the intended follow-up workflow, so an agent can infer this must be called before add_visual. However, there is no explicit statement of prerequisites (e.g. that a pbip project must already exist) or when-not-to-use guidance.

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