Skip to main content
Glama

insert_sequence_field

Insert a sequence field (SEQ) to automate figure or table numbering in a Word document, with an option to reset the counter.

Instructions

Insert a SEQ (sequence) field for figure/table numbering.

Args: para_id: w14:paraId of the target paragraph. seq_name: The sequence identifier (e.g. "Figure", "Table"). reset: If True, restarts the sequence counter at 1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
para_idYes
seq_nameYes
resetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided. The description only explains parameters and the insertion action, but does not disclose side effects (e.g., document modification), idempotency, failure modes (e.g., invalid para_id), or whether the operation is reversible. This is a significant gap for a mutation tool.

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 a single short paragraph with a clear arg list. Every sentence provides necessary information without redundancy. It is optimally concise for agent readability.

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?

Given the output schema exists, return values are not needed. However, the description lacks context on when to use this tool versus related tools (e.g., insert_caption, add_cross_reference) and how the SEQ field interacts with document numbering. This limits completeness for nuanced decision-making.

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 schema provides parameter names and types but no descriptions (0% coverage). The description adds valuable semantics: para_id as 'w14:paraId of the target paragraph', seq_name as a sequence identifier (with examples), and reset as restarting the counter. This meaningfully extends the 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?

The description clearly states it inserts a SEQ field for figure/table numbering. The verb 'insert' and specific resource 'SEQ field' are precise, distinguishing it from siblings like insert_date_field or insert_if_field.

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 for figure/table numbering, but does not explicitly state when to use this tool versus alternatives like insert_caption or update_fields. No exclusions or alternative recommendations are given.

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

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