Skip to main content
Glama

format_paragraph

Apply style, alignment, and font settings to a specific paragraph in an open Word document. Change only the properties you provide, leaving other formatting intact.

Instructions

Format one paragraph: style, alignment, and font (name, size, bold, italic, color, highlight color). Only provided properties are changed.

Input Schema

NameRequiredDescriptionDefault
boldNoBold text.
colorNoFont color as #RRGGBB.
indexYesZero-based paragraph index.
styleNoStyle name, e.g. "Heading 1". Built-in names matched locale-independently.
italicNoItalic text.
fontNameNoFont family, e.g. "Calibri".
fontSizeNoFont size in points.
alignmentNoParagraph alignment.
documentIdNoTarget document ID from list_documents. Optional when only one document is connected.
highlightColorNoHighlight color as #RRGGBB. Use "#FFFFFF" to clear.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that only supplied properties are modified, but it does not cover permissions, reversibility, whether paragraph-level formatting applies to all text runs, or what the tool returns.

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 tight sentence with the core operation front-loaded and no wasted text.

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?

For a mutation tool with rich schema coverage and no output schema, the description covers the essential scope and partial-update behavior. It could be stronger with explicit sibling routing, but the agent has enough to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description lists the formatting categories but adds little per-parameter meaning beyond what the schema provides, making 3 the baseline.

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?

The description states a specific verb and resource: format one paragraph, with style, alignment, and font properties. It is clear but does not explicitly distinguish this from nearby tools like set_paragraph_text or format_shapes.

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 phrase "Only provided properties are changed" implies partial-update usage, but there is no explicit guidance on when to choose this tool versus set_paragraph_text for text changes or format_shapes for shape formatting.

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