Skip to main content
Glama
DocuPipe MCP server

DocuPipe MCP server

Official
by DocuPipe

Create a schema

create_schema

Save a JSON Schema as a DocuPipe schema so extractions return consistent fields; define object properties with descriptions and arrays of objects for line items.

Instructions

Save a JSON Schema as a DocuPipe schema so every extraction returns the same fields. Free. Use type object with a description on each property; arrays of objects for line items.

Input Schema

NameRequiredDescriptionDefault
guidelinesNoPlain-language instructions applied whenever this schema is used.
json_schemaYes
schema_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

The description identifies this as a save operation and mentions it is free, which is useful behavioral context beyond the openWorldHint annotation. But it does not disclose whether saving with an existing name overwrites, requires authentication, has side effects, or returns a schema ID. For a mutation tool with minimal annotations, those gaps are significant.

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?

The description is short, front-loaded with the core action, and contains no wasted sentences. The 'Free' fragment and the dense formatting tip are slightly abrupt, but both are useful and easy to scan.

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?

For a schema-creation tool with a nested JSON Schema parameter, the description covers the core purpose and gives basic shape guidance. It remains incomplete on persistence behavior, parameter meanings, and what the call returns, especially given the lack of an output schema and only minimal annotations.

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 only 33%, so the description must carry more of the parameter burden. It gives useful guidance for the json_schema parameter by recommending type object, property descriptions, and arrays of objects for line items, but it never mentions schema_name or the optional guidelines parameter, leaving two of three parameters unclear.

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: save a JSON Schema as a DocuPipe schema. It also explains the effect, making every extraction return consistent fields. It does not explicitly distinguish this from siblings such as list_schemas or extract.

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 'so every extraction returns the same fields' implies when this tool is useful, and 'Free' adds context. However, there is no explicit guidance on when to create a schema versus using extract directly, or whether to check existing schemas with list_schemas first.

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