Skip to main content
Glama

Create document

glpi_create_document

Create a document (metadata). Fields: name, entities_id, comment, etc.

Input Schema

NameRequiredDescriptionDefault
inputYesDocument fields

Output Schema

NameRequiredDescriptionDefault
dataNo
replayedNoTrue when an identical recent create was returned instead of repeated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description adds the meaningful '(metadata)' hint, implying no binary payload, but says nothing about required fields, auth scope, or what happens on failure.

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, purpose front-loaded before the field list, with no filler. The vague 'etc.' slightly dilutes an otherwise efficient structure.

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?

An output schema exists so return values need no explanation, and annotations cover the mutation/safety profile. However, for a create operation on an opaque freeform schema, the description should at least state which fields are required and how this differs from glpi_create_document_item.

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 only parameter is a freeform object with additionalProperties: {}, so the schema itself defines no field names. The description partially compensates by naming name, entities_id, and comment, but the trailing 'etc.' leaves the accepted field set open-ended and unverified.

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?

States a specific verb and resource (create a document) and adds the qualifier '(metadata)', which usefully hints that this does not upload binary file content. It stops short of naming or distinguishing itself from the closest sibling, glpi_create_document_item, so an agent must still infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives such as glpi_create_document_item (linking a document to an item) or the get/list document tools. No prerequisites, permissions, or follow-up steps are given.

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.