Skip to main content
Glama

delete_footnote

Removes a footnote definition and its in-body reference from a Word document using the footnote's numeric ID.

Instructions

Delete a footnote and its in-body reference.

Removes the footnote definition from footnotes.xml and removes the footnoteReference run from the document body.

Args: footnote_id: The numeric ID of the footnote to delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
footnote_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries the full burden. It explains that both the definition and in-body reference are removed, which is helpful. However, it does not disclose side effects like renumbering of subsequent footnotes, permission requirements, or error behavior. For a destructive mutation, more transparency is expected.

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 concise, with the purpose front-loaded in the first sentence and a clear Args section. No superfluous words. Could be slightly more streamlined, but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter) and the presence of an output schema, the description covers the core behavior adequately. It explains the dual effect on definition and reference. However, it lacks context on how to obtain the footnote_id (e.g., from get_footnotes) and does not mention edge cases like missing footnotes or document state prerequisites.

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 only parameter, footnote_id, is described as 'The numeric ID of the footnote to delete' in the Args section, adding meaning beyond the schema's type 'integer'. Since schema coverage is 0%, this description compensates well by clarifying the nature and origin of the ID.

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 deletes a footnote and its in-body reference, specifying the two affected locations (footnotes.xml and the footnoteReference run). It distinguishes from siblings like add_footnote or update_footnote by focusing on deletion.

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 guidance on when to use this tool versus alternatives (e.g., delete_paragraph or delete_text) or prerequisites. For example, it doesn't mention that the footnote must exist or what happens if the ID is invalid. Siblings like update_footnote or validate_footnotes are not referenced.

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