Skip to main content
Glama

Plan Studio

get_editor

Read-onlyIdempotent

Read what the editor shows the caller. Use it before saving a draft, to learn the revision it must be based on. Returns the published plan, its revision and the caller's own draft; the draft is null when the caller has none or sends no session.

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": {
      "id": "<id>",
      "owner": "<owner>"
    },
    "name": "get_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe room id, from get_rooms
ownerYesa display handle echoed back in the answer; it never selects another person's draft

Output Schema

NameRequiredDescriptionDefault
idYesThe room id.
bodyYesThe published plan.
draftNoThis owner's unsaved draft, when one is open.
ownerYesThe owner whose draft this is.
titleYesIts title.
behindYesWhether someone published since this draft was started. When true, publishing with the draft's base revision will be refused and the owner must re-base first.
revisionYesThe current published revision.
draft_at_msNoWhen the draft was last touched.
draft_differsYesWhether the draft differs from the published body. Computed on the SERVER: a client deciding this for itself would disagree with the server the moment someone else published.
lease_minutesYesHow long an untouched draft survives, in whole minutes.
updated_at_msYesWhen the room last changed: the same clock the room view carries, so a client holding this view can tell when the room has moved past it.
revision_authorNoWho published the current revision, when anyone has.
draft_idle_minutesYesHow long the draft has been idle, in whole minutes.
draft_base_revisionNoThe revision the draft was started against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior: the null-draft condition when there is no draft or no session, and the privacy rule that `owner` is echoed but never selects another person's draft. However, response details are also available in the output schema, so the incremental disclosure is moderate rather than rich.

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, no filler. The destructive-adjacent guidance (use before saving) comes first, the return contract second, and the edge-case null rule last — an appropriate front-loaded ordering.

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?

Given a rich output schema and complete parameter descriptions, the description covers the workflow role, the ownership constraint and the null case, which is what an agent needs to call it correctly. It does not address failure modes such as an invalid or unknown room id, which is the only notable omission.

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

Parameters4/5

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

Schema coverage is 100%, so both `id` and `owner` are already documented, which sets the baseline at 3. The description still reinforces the non-obvious semantics of `owner` — that it is echoed back solely for the caller's benefit and cannot be used to read another user's draft — which is the kind of meaning worth repeating because misuse would be a privacy bug.

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 gives a specific verb (read) and resource (the editor's view for the caller), and the rest pins down exactly what comes back: published plan, its revision, and the caller's own draft. That scope statement ("the caller's own draft") separates it from room/version readers like get_room or snapshot_version.

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 a concrete trigger and rationale: use it before saving a draft, to learn the revision the draft must be based on. That ties the tool to save_draft/publish_draft workflows. It stops short of explicit when-not-to-use guidance or naming the alternative readers directly.

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