Skip to main content
Glama
Things 3 MCP Server
by ebowman

get_project_headings

Read a Things project's existing heading structure in display order, with each heading's title, index, and open to-do count. Inspect headings without changing the project.

Instructions

Get the heading structure of a project, in Things' own display order.

Each item has: uuid, title, index (Things' internal ordering value, lower sorts first), and todoCount (number of open to-dos directly under that heading, via things.todos(heading=uuid, status='incomplete')).

Read-only by design: headings can only be created at project-creation time, via add_project(todos=...)'s ## lines (things:///json) - not by this tool. Existing headings cannot be renamed or deleted via any public Things 3 API: there is no AppleScript heading class, and the URL scheme can only place to-dos under headings that already exist. This tool exists purely to read the heading structure that already exists in a project.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_project_headings"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoResponse mode (auto/summary/minimal/standard/detailed/raw)
project_idYesUUID of the project to read headings from

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does it well: it declares the tool read-only by design, explains the platform constraint (no AppleScript heading class, URL scheme can only place to-dos under existing headings), and describes each returned field including how todoCount is computed. It does not mention permissions, performance, or behaviour for a project with no headings, which keeps it below 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the returned-field list are front-loaded, then the read-only rationale follows, which is the right ordering. The read-only explanation runs long across three sentences with some restatement ('not by this tool', 'purely to read'), which is defensible but not maximally tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, yet the field list still anchors expectations; more importantly, the description supplies the platform constraints an agent cannot get from schema or annotations. Nothing needed to call this correctly — or to avoid attempting a write — is 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 coverage is 100%, so both project_id ('UUID of the project to read headings from') and mode are already documented in structured data, setting the baseline at 3. The description adds no further meaning about either parameter — it never explains what 'mode' values change or that project_id must be an existing project.

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 first sentence names a specific verb and resource ('Get the heading structure of a project') and adds the scoping nuance of Things' own display order. It is immediately distinguishable from the sibling get_todos/get_projects family because it returns headings, not to-dos, and it explicitly names add_project as the only creation path.

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?

It states clearly what this tool is not for — no creation, renaming, or deletion — and points to add_project(todos=...)'s '##' lines as the creation mechanism, which is real routing guidance. It stops short of describing a positive scenario for a caller (e.g., when an agent should inspect headings before moving to-dos under them), so it is strong context rather than a full when/when-not map.

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