Skip to main content
Glama

styles_list

Read-only

List paragraph, character, table, or numbering styles in a Word .docx with usage counts, filter to used styles, and paginate results.

Instructions

Styles defined in the document with how many times each is used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docYesPath to the .docx.
typeNoOnly this kind of style.
limitNoMost items to return; a response is also capped at about 8,000 bytes.
cursorNoThe `next` value of the previous response, to continue the list.
used_onlyNoOnly styles used at least once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower. The description adds the useful fact that per-style usage counts are returned, but says nothing about ordering, pagination mechanics, or the byte cap beyond what the schema already states.

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?

A single compact sentence with no filler, and the core resource is front-loaded. The trailing phrase "with how many times each is used" is slightly awkward but it is the one piece of output information the schema cannot convey.

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

Completeness3/5

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

With no output schema, the description carries the burden of describing the return, and it does so only partially (styles plus usage counts, but not ordering or field shape). Combined with the absent usage guidance for a five-parameter list tool, it is adequate but incomplete.

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% and each parameter already documents itself, including the cursor continuation value and the 8,000-byte response cap. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 resource (styles defined in the document) and an output attribute (usage counts), which is more than a restatement of the name. It does not, however, distinguish itself from siblings like style_get or styleset_export, so the agent must infer the boundary.

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?

There is no when-to-use guidance, no contrast with style_get (single style), style_create, or styleset_export, and no mention of prerequisites. The agent gets no help deciding between this and neighboring style tools.

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