Skip to main content
Glama

style_create

Add a new paragraph, character, table, or numbering style to a Word document with custom formatting, based on existing styles, and control properties like font, size, and spacing.

Instructions

Add a style.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoStyle id (default: from the name).
docYesPath to the .docx.
runNoCharacter formatting: bold, italic, small_caps, strike, underline, font, size_pt, color, highlight, vertical_align; null removes a key.
linkNoLinked paragraph/character style; '' for none.
nameYesDisplay name.
nextNoStyle of the next paragraph; '' for none.
typeNoKind of style (default paragraph).
quickNoShow in the quick-style gallery.
customNoA user-defined (not built-in) style.
expectNo
defaultNoThe default style of its type.
dry_runNoPreview only; write nothing.
based_onNoParent style id or name; '' for none.
paragraphNoParagraph formatting (twips): alignment, indent{left,right,first_line,hanging}, spacing{before,after,line,line_rule}, keep_next, keep_lines, page_break_before, outline_level; null removes a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, confirming this is a write. The description adds nothing beyond that: it doesn't say what is created, what happens if the id/name already exists, that dry_run previews, or that the styled doc is modified on disk. With a mutation tool and nested formatting objects, the one-phrase description leaves the behavioral burden entirely on the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single three-word sentence with zero waste and the action front-loaded, but it is terse to the point of being uninformative for a 14-parameter tool. Concise, not padded, yet barely a sentence.

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

Completeness2/5

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

For a 14-parameter mutation tool with nested run/paragraph objects, enum-driven type selection, an expect/sha256 guard, and no output schema, the description is far too thin. It omits style kinds, formatting semantics, and any mention of the dry_run/expect safety mechanisms the schema exposes.

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 93%, so nearly all 14 parameters (id, run, paragraph, based_on, link, next, type, dry_run, expect, etc.) are already documented in the schema. The description contributes nothing extra, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Add a style" merely restates the tool name style_create (verb+resource) without adding meaning — it does not clarify what a 'style' is in the docx model or what distinguishes this creation call from siblings like style_update, style_rename, or style_merge.

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 when-to-use guidance at all. The agent gets no cue for choosing style_create over style_rename, style_update, style_merge, or styleset_import-dotx, and no prerequisites (e.g., the doc must be open or exist) are given.

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