Skip to main content
Glama

x402-xml-path

XML Path: Extract text content of a specified tag from XML. Provide xml and tag; returns the tag's text value. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
tagNo
xmlNo
dataNo
pathNo
textNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / path / description
      Removed value: -"Path to process"
    • removedInput schema / properties / tag / description
      Removed value: -"Tag to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
    • removedInput schema / properties / xml / description
      Removed value: -"Xml to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only says the tag's text value is returned. It does not say what happens when the tag is absent, whether nested or repeated tags yield the first match or all matches, or whether this is a pure read operation with no side effects. The pricing line ("5 free trial calls per signed wallet") adds payment context but nothing about execution 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 plus a promo line; the core operation and its inputs are front-loaded with no wasted prose. The free-trial marketing line is not part of the functional definition but is minor noise.

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?

For a tool with six parameters, zero required fields, no annotations, and no output schema, the description is far too thin. It does not resolve which inputs are mandatory, why duplicate/alias parameters exist, whether XPath expressions are supported despite the name, or what the response shape looks like.

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?

The schema has six properties (tag, xml, data, path, text, input) with zero description coverage and no required fields, while the description explains only two of them (xml and tag). The four undocumented aliases, particularly "path" which conflicts with the description's simple-tag framing, are left entirely ambiguous.

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 first sentence names a specific verb and resource ("Extract text content of a specified tag from XML") and the second states the return value, which separates it from siblings like x402-xml-to-json or x402-xml-pretty. It falls short of a 5 because it never references those siblings or clarifies whether "tag" means a simple element name or a full path.

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?

"Provide xml and tag" implies the calling context, but there is no explicit when-to-use/when-not guidance and no pointer to alternatives such as x402-strip-tags, x402-xml-to-json, or x402-html-text-extract for similar extraction tasks. An agent must infer selection from the name alone.

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