Skip to main content
Glama

Word Close

word_close

Closes the current Word document, letting you save changes or discard them.

Instructions

Close the current document, saving it or discarding changes.

Input Schema

NameRequiredDescriptionDefault
saveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that closing may save or discard changes, but does not mention whether unsaved changes trigger prompts, whether the operation is irreversible, or what happens if the close fails.

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?

A single, front-loaded sentence with no wasted words. The purpose and key behavioral choice are immediately clear.

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 a simple one-parameter tool with an output schema, the description provides enough context to invoke it correctly. Minor gaps around unsaved-document edge cases and sibling guidance keep it from a 5.

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 description coverage is 0%, but the one parameter is a boolean 'save' defaulting to false. The description compensates by stating the effect ('saving it or discarding changes'), making the parameter's semantics clear despite the empty schema description.

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 ('Close the current document') and clarifies the optional save/discard behavior. It is clearly distinct from siblings like word_save, but does not explicitly name alternatives or clarify whether closing without saving is the same as word_save followed by close.

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 when to use it (to close the current document), but gives no explicit guidance on when to prefer it over word_save, or what happens if no document is open. Minimum viable usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.