Skip to main content
Glama

Toggle checklist item

checklist_toggle_item
Destructive

Set one checklist item's checked state by its stable item id (ids ship in every element read). Omit checked to toggle. Touches nothing but that item's checked flag — safe under concurrent edits, no revision token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesStable id of the item
nodeIdYesParent node ID
checkedNoTarget state; omit to toggle the current value
elementIdYesChecklist element ID
documentIdYesParent document ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that only the checked flag is touched, that it is safe under concurrent edits, and that no revision token is required. This adds meaningful behavioral context and does not contradict the destructiveHint.

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?

Three compact sentences with no filler. The primary action is front-loaded, and each clause adds useful information about usage, scope, or safety.

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?

For a simple mutation tool with five parameters and no output schema, the description fully covers how to invoke it, what it affects, and the concurrency guarantees. Nothing essential is missing for correct selection and use.

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 the baseline is 3. The description adds value by explaining the toggle behavior when 'checked' is omitted and emphasizing that itemId is stable, which enriches the schema definitions.

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 uses a specific verb ('Set') and resource ('one checklist item's checked state'), and clarifies that the operation is scoped by a stable item id. This clearly distinguishes it from broader element/document update tools.

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 gives clear operational context: use the stable item id and omit 'checked' to toggle. It doesn't explicitly name alternatives or exclusions, but the narrow scope makes the intended usage obvious.

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