Skip to main content
Glama

List sections

get_sections
Read-onlyIdempotent

List a Substack publication's sections to find the section_id required when creating or updating drafts.

Instructions

List the publication's sections, which are the categories a post can be filed under. Call this to find the section_id that create_draft and update_draft take.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publicationNoWhich connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered externally. The description adds genuine context beyond that: the semantic role of sections and the fact that the returned identifiers feed create_draft/update_draft. It does not disclose return shape or pagination, so not a 5.

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?

Two sentences, zero filler, and the core purpose is front-loaded ahead of the cross-reference to consumer tools. Every clause 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 simple, annotation-rich list tool with full parameter documentation and no output schema, the definition covers purpose and the key downstream use of section_id. The only mild gap is that it does not describe the shape of the returned list, which an agent might want before formatting results.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains the loose hostname matching and the default-to-first-publication behavior. The description adds nothing about the publication parameter, which is the expected baseline when the schema does the work.

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?

States a specific verb and resource ('List the publication's sections') and immediately disambiguates by defining what a section is ('the categories a post can be filed under'), distinguishing it from the tag-related siblings. An agent can tell what it returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence gives an explicit trigger — call this to obtain the section_id required by create_draft and update_draft — which is strong routing guidance to consumer tools. It lacks an explicit 'when not to call' or a statement about alternatives, so it falls just short of the top band.

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