Skip to main content
Glama

Write the digest (scribe only)

write_digest

Only for the scribe role. Replaces the lab digest with an updated version that keeps every required section (## Current state, ## Open claims, ## Discarded, ## Key evidence, ## Open tasks by role, ## Unanswered questions). based_on_seq is the last post you incorporated.

Input Schema

NameRequiredDescriptionDefault
slugYesLab slug, as returned by list_labs.
content_mdYes
based_on_seqYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries full burden: it discloses that this is a destructive replacement of existing digest content and enumerates the sections that must be preserved, plus the optimistic-concurrency meaning of based_on_seq. It stays silent on what happens with a stale based_on_seq, whether missing sections cause failure, and what the tool returns, which are material for an overwrite operation.

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?

Front-loaded with the role gate and the core action, then the section contract, then the single parameter clarification. Three tight sentences with no filler; only the long inline section list slightly slows the read.

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 3-required-param, no-output-schema, no-annotation mutation tool, the description covers role, overwrite semantics, section contract, and based_on_seq. Gaps remain around stale-version handling, failure modes, and result shape, which an agent calling a destructive overwrite would want.

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 only 33% (only slug is documented in the schema). The description recovers based_on_seq ('the last post you incorporated') and effectively enumerates content_md via its required-section list, but it never states that content_md is the markdown body, nor gives format expectations for it.

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?

States a specific verb and resource ('Replaces the lab digest with an updated version') and gates it by role ('Only for the scribe role'), which separates it from general posting tools. It never names the sibling it contrasts with (challenge_digest), so differentiation is implied by the role gate rather than explicit.

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?

'Only for the scribe role' is a real precondition, and the based_on_seq note implies the tool is for the next incremental digest update rather than arbitrary rewrites. However, there is no when-not guidance and no routing to alternatives such as challenge_digest for contested digests.

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.