Skip to main content
Glama

Upsert checklist item

upsert_checklist_item
Idempotent

Create or update one checklist item. Identify it by item_id, or by playbook_item_key within the procedure. Always fill source_ref with the document and position that demands the item — that reference is the difference between finding a required annex early and discovering it two weeks before the deadline. Set requirement to not_applicable rather than deleting an item that does not apply to the chosen bidder constellation, so it stays visible as a deliberate decision.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upsert_checklist_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
notesNo
ownerNo
stateNo
originNoDefaults to ai when an agent creates it.
item_idNo
due_dateNoYYYY-MM-DD.
grant_idNo
tender_idNo
sort_orderNo
source_refNoe.g. "Abschließende Liste der einzureichenden Vergabeunterlagen, Pos. 7".
requirementNo
milestone_idNoHang the item on a MILESTONE instead of a procedure — the list of documents to be submitted at that milestone. Exactly one owner; passing it together with tender_id or grant_id is refused.
eligibility_keyNoWhich eligibility master datum this item demands, so the submission gate can check it against the tenant's stored data instead of asking a human: financials:3 (last three completed fiscal years), references:3 or references:3:public, credential:liability_insurance, credential:accident_insurance, credential:registration, credential:certification:ISO 27001. An unknown key satisfies nothing — a typo must not silently lift the gate.
playbook_item_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is supplied. The description adds real context beyond that: mutations should be made non-destructively via requirement=not_applicable so the decision stays visible, and source_ref is framed as materially consequential. It says nothing about permissions, what the response contains, or what happens on conflicting identifiers, so the added behavioral depth is partial.

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?

Three sentences, front-loaded with the action, then identification, then the two most error-prone field rules. The "two weeks before the deadline" clause is rhetorical padding, but it justifies an otherwise easy-to-skip parameter, so little is wasted overall.

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 15-parameter upsert with no output schema and 0 required parameters, the description leaves important gaps: it never states that exactly one owning scope (procedure vs milestone) must be supplied, and it does not say what is returned. It does cover the highest-risk semantics (source_ref, requirement, identity keys), so it is adequate rather than complete.

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 description coverage is only 33% across 15 parameters, so the description should compensate more than it does. It adds genuine meaning for source_ref (what content to put there), requirement (not_applicable semantics), and item_id/playbook_item_key (identification routes), but label, notes, owner, state, due_date, sort_order, grant_id and tender_id get no treatment, and the exactly-one-owner rule for tender_id/grant_id/milestone_id is only visible in the milestone_id schema text.

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?

"Create or update one checklist item" gives a specific verb pair and resource, and the follow-up sentence explains the two identification routes (item_id or playbook_item_key within the procedure), which is the key behavioral distinction from a plain create. It does not name sibling tools, so the agent must infer the boundary with delete_checklist_item / list_checklist_items, but the create-or-update framing is unambiguous.

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?

Clear positive guidance on when this tool is the right one (creating or amending a single item, keyed either by item_id or playbook_item_key) and an explicit alternative rule: set requirement to not_applicable rather than deleting an item that does not apply. That routes the agent away from delete_checklist_item. It lacks an explicit statement of when not to use it (e.g. bulk edits), but the core routing decision is covered.

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