Skip to main content
Glama

office-word-mcp__get_document_outline

[Office Word MCP] Inspect the title, author, headings, paragraphs and tables of a Word document.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>"
    },
    "name": "office-word-mcp__get_document_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesTarget .docx document name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already supply the safety profile (destructiveHint=false, openWorldHint=true, readOnlyHint=false), so the bar is lower. The description adds value by enumerating what is surfaced (title, author, headings, paragraphs, tables), which substitutes for the missing output schema. However, it does not say whether the file is opened/locked or what happens on a missing or malformed .docx, and the read-flavored wording sits slightly awkwardly against readOnlyHint=false without clarification.

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?

A single front-loaded sentence with the verb and the returned content up front and no filler. Every word earns its place.

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 one-parameter, non-destructive inspection tool, the description covers purpose plus the shape of what comes back, compensating for the absent output schema. Only error/locking behavior and a pointer to any search-style sibling are missing.

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% for the single parameter, and the schema already states it is the target .docx document name. The description adds no further meaning about the filename (path resolution, extension handling), so 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?

"Inspect" is a specific verb paired with the resource (a Word document) and an enumeration of what is inspected: title, author, headings, paragraphs, tables. That clearly separates it from the write-side siblings such as add_heading or add_paragraph, though it never names an alternative explicitly.

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 definition gives no when-to-use or when-not-to-use guidance; there is no mention of reading a document before editing, nor of any alternative tool for finding content (e.g., search_and_replace). The read-only intent is only implied by the verb "inspect."

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.