Skip to main content
Glama

Lilia Editor

Read the page setup

get_document_settings
Read-onlyIdempotent

A document's page setup: paper, orientation, margins, columns, font and size, line spacing, paragraph indent, page numbering, the header and footer slots, and the custom preamble. null means the class default.

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": {
      "documentId": "<documentId>"
    },
    "name": "get_document_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesThe document id.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that null values mean the class default — but says nothing about whether unset fields are omitted or returned as null per field.

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 dense sentence that front-loads the resource and then lists fields without filler. The long comma-separated enumeration is efficient for coverage but borders on a data dump rather than structured guidance.

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?

For a simple one-parameter read with a fully documented schema and annotations, this is nearly sufficient, and with no output schema the field list usefully hints at return shape. It stops short of describing value types or how the header/footer slots and preamble are represented, which an agent would need in order to consume the result.

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 coverage is 100% for the single documentId parameter, so the schema already carries the parameter semantics. The description adds nothing about documentId (format, where it comes from), leaving this at the baseline for fully-documented schemas.

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 names a specific resource (a document's page setup) and enumerates the exact fields it covers, so an agent knows precisely what is read. It does not explicitly distinguish itself from the obvious sibling set_document_settings, but the enumerative scope makes the read-vs-write split inferable.

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 mention of when to prefer set_document_settings, and no prerequisite or fallback advice. The agent must infer from the tool name alone that this is the read counterpart to the settings mutator.

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.

Resources