Skip to main content
Glama

upload_docx_template

Upload a .docx file as a template. Pass base64-encoded DOCX content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable template name
descriptionNoOptional description
docx_base64YesBase64-encoded .docx file content

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
schemaNo
messageNo
template_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

The annotations only provide negative hints (readOnlyHint=false, destructiveHint=false, idempotentHint=false) and the description adds no behavioral context about overwrites, file size limits, permissions, or side effects. The base64 instruction is parameter-focused rather than behavioral.

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 two short sentences with the primary action front-loaded and no filler. Every sentence earns its place.

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?

The schema, annotations, and output schema cover parameters, safety signals, and return values, so the description is not grossly incomplete for a simple upload action. However, it omits routing context versus siblings and any operational constraints or side effects, making it adequate but not fully complete.

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?

Schema description coverage is 100%, so the schema already documents all three parameters adequately. The description's mention of 'base64-encoded DOCX content' largely duplicates the existing property description and adds no new format constraints or examples.

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 names a concrete verb and resource ('Upload a .docx file as a template') and specifies the accepted file format. It does not distinguish itself from sibling tools such as create_template, so it falls short of a 5.

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 by stating what the tool does, but it gives no explicit when-to-use or when-not-to-use guidance. There is no mention of when to prefer this tool over create_template or other template-related siblings.

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.