Skip to main content
Glama

update_content_control

Modify the title, tag, or placeholder text of an existing content control in a Word document.

Instructions

Modify properties of an existing content control.

Args: control_id: The w:id value of the content control to update. title: New title (w:alias/@w:val). Omit to leave unchanged. tag: New tag (w:tag/@w:val). Omit to leave unchanged. placeholder_text: New placeholder text. Omit to leave unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
control_idYes
titleNo
tagNo
placeholder_textNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It correctly implies mutation but does not mention error conditions, side effects (e.g., whether changes are persisted immediately), or permission requirements. The output schema is present but not visible in the description.

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 concise, front-loaded with the purpose, and uses efficient language. The Args section adds detail without redundancy. Every sentence provides necessary information.

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 complexity and the presence of an output schema, the description adequately covers parameter meanings and the 'leave unchanged' behavior. However, it lacks discussion of error handling (e.g., control not found) and prerequisites (e.g., document must be open), though these may be implied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description fully compensates by explaining each parameter's XML mapping (e.g., w:id, w:alias/@w:val) and the effect of omitting optional parameters (leaves unchanged). This adds significant meaning beyond the raw 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 the tool modifies an existing content control and lists the specific properties (title, tag, placeholder_text) that can be updated. This verb-resource combination distinguishes it from sibling tools like add_content_control, delete_content_control, and set_content_control_value.

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?

The description does not provide guidance on when to use this tool versus alternatives. It lacks information about prerequisites, such as the document being open or the content control existing, and does not compare with similar tools like set_content_control_value.

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