Skip to main content
Glama

processDefinition_getXmlById

Retrieve BPMN 2.0 XML source for process definitions to inspect or debug process models in the Operaton engine.

Instructions

Retrieve the BPMN 2.0 XML source of a process definition by ID. Useful for inspecting or debugging process models.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 disclosure burden. It identifies the return format (BPMN 2.0 XML), but omits error handling (e.g., 404 for invalid ID), side effects, or permissions required. No contradiction with annotations.

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 sentences with zero waste. The first sentence defines the action and resource; the second provides use-case context. Every element earns its place.

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 has 0 input parameters, no annotations, and no output schema, the description adequately covers the essentials by specifying the returned data format (BPMN 2.0 XML). It could improve by noting where the ID originates (likely URL path) given the empty schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema contains 0 parameters with 100% coverage. Per guidelines, 0 params warrants a baseline score of 4. The description indirectly implies the ID parameter through the tool name and 'by ID' phrase.

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 ('Retrieve'), identifies the exact resource ('BPMN 2.0 XML source'), and scope ('by ID'). It clearly distinguishes from sibling tool 'processDefinition_getXmlByKey' by specifying the ID-based lookup method.

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 provides implied usage context ('Useful for inspecting or debugging'), but lacks explicit guidance on when to use this versus 'getXmlByKey' or other processDefinition tools, and states no prerequisites or exclusions.

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/operaton/operaton-mcp'

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