Skip to main content
Glama

raw_xml_view

Perform read-only XPath queries on Power BI RDL reports, returning matched XML elements as serialized strings.

Instructions

Read-only XPath query against the report. Returns matched elements as serialised XML strings. XPath context is (the root); 'r:' is bound to the RDL namespace, 'rd:' to the rd namespace. Examples: "r:DataSources/r:DataSource[@Name='X']" / ".//r:Textbox[@Name='X']/r:Style". Returns [] when nothing matches; raises on malformed xpath.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
xpathYes
Behavior4/5

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

With no annotations, the description discloses key behaviors: read-only, returns [] on no match, raises on malformed XPath. This is transparent for a query tool, though it does not mention performance or limits.

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?

The description is two sentences plus examples, front-loading the main purpose. Every sentence adds value without fluff, making it efficiently informative.

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

Completeness5/5

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

Despite no output schema, the description explains return values (serialised XML strings, [] on no match) and error behavior (raises on malformed XPath). For a read-only query tool, this is complete.

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?

The description provides XPath context (namespaces, root element) and examples for the xpath parameter, adding value beyond the schema. However, the path parameter is not described, and schema coverage is 0%, so compensation is partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The description clearly states the tool performs a read-only XPath query against a report, returning matched elements as serialised XML strings. It identifies the resource (report) and action (query), distinguishing it from sibling tools like raw_xml_replace which modify.

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 usage for reading XML via XPath, contrasting with write tools, but does not explicitly state when to use this tool vs alternatives or provide '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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mafaq229/pbirb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server