Skip to main content
Glama

insert_caption

Insert a caption after a specified paragraph in a Word document, with customizable label (Figure/Table) and description text.

Instructions

Insert a caption paragraph after the specified paragraph.

Args: after_para_id: paraId of the paragraph to insert after. text: Caption description text (without label/number prefix). label: Caption label, e.g. "Figure" or "Table" (default "Figure").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
labelNoFigure
after_para_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, description carries full burden. It explains text excludes label/number prefix and label default, but omits key behaviors like auto-numbering, validation of after_para_id, or effects on cross-references.

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?

Concise single paragraph with main action upfront, followed by clear parameter descriptions. No redundant information.

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?

Adequately covers core purpose and parameters given output schema exists (not shown). Lacks details on behavior for invalid inputs or numbering, but acceptable for a simple insertion tool.

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?

Schema coverage is 0%, but description adds meaningful explanations for all parameters: after_para_id as paraId to insert after, text as caption description without prefix, label as caption label with example. Adds significant value beyond schema.

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?

Clearly states 'Insert a caption paragraph after the specified paragraph.' with specific verb and resource. Distinguishes from siblings like 'insert_paragraph' (generic) and 'add_cross_reference' (different action).

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?

No explicit guidance on when to use vs alternatives. Does not mention prerequisites or cases where other tools (e.g., insert_paragraph) might be more appropriate.

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/Arvindh95Censof/grp-docx-mcp'

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