Skip to main content
Glama

List Styles

list_styles

Lists style IDs defined in a template .docx so you can reference valid styles in content; the renderer looks up styles by ID.

Instructions

List the style IDs defined in a template .docx (use these in content; the renderer looks styles up by ID).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
masterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that the renderer resolves styles by ID, which explains why IDs (not names) matter, but it never confirms the operation is a read, says what happens if the template is missing, or describes scope of the listing.

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?

One front-loaded sentence with a short parenthetical that adds real value rather than restating the name. Nothing is padded or redundant.

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?

The tool is simple (one optional parameter) and an output schema exists, so return values need not be explained. The remaining gap is the unexplained master parameter, which is the only substantive omission for a tool this small.

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

Parameters2/5

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

The single parameter 'master' has 0% schema description coverage and is never mentioned in the description. 'Defined in a template .docx' only weakly implies that master identifies the template; the agent must guess its meaning, format, and what an empty default selects.

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: list the style IDs defined in a template .docx. That is clearly distinguishable from siblings like lint_style or draft_assignment, though the description does not name or contrast any sibling explicitly.

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 parenthetical 'use these in content; the renderer looks styles up by ID' tells the agent what to do with the output, which is genuine usage context. It does not say when this tool should be preferred over alternatives or when it is not needed, so guidance remains implied.

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