Skip to main content
Glama

get_section

Retrieve a specific section from a Confluence page by providing its heading. Choose markdown or storage format, and optionally save to a file.

Instructions

Get content of a specific section by heading name.

Args: page_id: The page ID. heading: The exact heading text to find. body_format: "markdown" or "storage" (default: markdown). output_file: If provided, write section content to this file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
headingYes
page_idYes
body_formatNomarkdown
output_fileNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Descriptions must carry the full burden since annotations are absent. It does disclose behavioral details like exact heading matching, body_format options, and optional file output. However, it does not explicitly state that this is a read-only operation, nor does it describe error behavior when headings are not found.

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?

The description is appropriately sized with a single-purpose opening sentence followed by a clear, per-line argument list. Every line adds semantic value without redundancy.

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?

Given the tool's simplicity and the presence of an output schema, the description covers purpose and all parameters. However, it lacks usage guidance (when to use vs alternatives) and behavioral context (e.g., error handling, read-only nature), which leaves some gaps for an agent.

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

Parameters5/5

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

Schema coverage is 0%, so the description must fully explain parameters. It does so effectively: page_id (page ID), heading (exact text), body_format (allowed values and default), and output_file (behavior). This adds significant value beyond the bare schema.

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

Purpose5/5

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

The description clearly states the tool's action ('Get content of a specific section') with a specific resource (a section by heading name). This distinguishes it from siblings like get_page (whole page) and get_page_sections (list of sections).

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 description implies usage when you know the exact heading text, but provides no explicit guidance on when to use this tool versus alternatives (e.g., get_page_sections or get_page). No exclusions or alternative recommendations are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1vecera/confluence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server