Skip to main content
Glama

extract_xml

Extrahiert die eingebettete XML-Datei aus einem ZUGFeRD/Factur-X PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdf_contentYesBase64-kodierter Inhalt der ZUGFeRD-PDF-Datei

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It indicates the operation is a read-only extraction, but it does not disclose potential errors (e.g., missing XML), output format, or any side effects beyond what the purpose already states.

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 a single, front-loaded sentence with no wasted words or redundant information. It is concise and to the point.

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?

Given the tool's simplicity (one parameter, no annotations, no output schema), the description plus schema provide adequate context for basic usage. However, the lack of output format specification and error handling details leaves minor gaps, but not enough to reduce to a 'minimum viable' score.

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 schema fully describes the sole parameter pdf_content as 'Base64-kodierter Inhalt der ZUGFeRD-PDF-Datei', providing 100% coverage. The description does not add any additional parameter meaning beyond the schema, so the baseline of 3 applies.

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 uses a specific verb ('Extrahiert' = extracts) and clearly specifies the resource (embedded XML from a ZUGFeRD/Factur-X PDF). It inherently distinguishes from sibling tools like check_consistency, create_invoice, and validate_invoice, which serve different purposes.

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 (extracting XML from a PDF) but provides no explicit guidance on when to use this tool versus alternatives. It does not mention exclusions or name sibling tools as alternatives, leaving usage context only implied.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct workflow step: creating an invoice, validating it, extracting embedded XML, checking PDF/XML consistency, and generating a validation report. Even though check_consistency and validate_invoice both inspect invoices, their inputs and purposes are clearly separated.

Naming Consistency4/5

Four of the five tools follow a clear verb_noun pattern: check_consistency, create_invoice, extract_xml, validate_invoice. validation_report is the only outlier, using a noun phrase instead of an action-oriented verb_noun name.

Tool Count5/5

Five tools is well-scoped for an e-invoice creation and validation server. Each tool contributes a meaningful, non-redundant capability, and the count matches the domain without feeling thin or overloaded.

Completeness5/5

The server covers the core invoice workflow: creation, validation, extraction, consistency checking, and reporting. Since the service is stateless, traditional CRUD update/delete tools are not expected, so there are no significant gaps.

Resources