Skip to main content
Glama

commit_updates

Apply multiple context operations in a single call to keep shared execution context current and reduce round-trips.

Instructions

Apply multiple updates in ONE call (reduces friction; keeps context current). Input: ops=[{op: ...}, ...] and optional dry_run=true. Supported ops:

  • context.set: vision?, sketch?

  • presence.set: agent_id, status

  • milestone.update: milestone_id, name?, description?, status?, outcomes?

  • milestone.complete: milestone_id, outcomes

  • task.update: task_id, status?, name?, goal?, assignee?, milestone_id?, steps?

  • task.step: task_id, step_id, step_status

  • note.add: content, ttl? (10/30/100 recommended)

  • note.update: note_id, content?, ttl?

  • note.remove: note_id

  • reference.add: url, note, ttl? (10/30/100 recommended)

  • reference.update: reference_id, url?, note?, ttl?

  • reference.remove: reference_id Example ops: [{op:'presence.set',agent_id:'peer-a',status:'Implementing X'},{op:'task.step',task_id:'T001',step_id:'S2',step_status:'done'},{op:'note.add',content:'Found edge case in parser',ttl:50}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYesList of operations to apply in order
dry_runNoValidate and preview changes without writing files
Behavior2/5

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

There are no annotations, and the description does not disclose important execution behaviors such as atomicity, failure handling, ordering guarantees, or return format. It explains the input shape and supported ops but leaves the AI agent unaware of what happens when an op fails or if partial application is possible. This is a significant transparency gap for a mutating batch tool.

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?

The description is long but efficiently structured as a bulleted list of ops with a clear example at the end. It front-loads the core purpose, then organizes the many operations in a scannable format. Every line conveys necessary details without redundant prose, making it optimally concise for its complexity.

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 the tool's complexity (covering 10+ operation types), the description thoroughly covers the input contract: all supported ops, their fields, optional markers, recommended values, and an example. However, it omits any information about the return value or error/failure behavior, which is notable because there is no output schema to fill that gap. It is nearly complete for invocation but not for post-call expectations.

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

Parameters5/5

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

The schema only defines ops as an array of objects with a required 'op' string, leaving the actual parameters as an open object. The description compensates by providing the full parameter list for every op (e.g., note.add: content, ttl?), indicating required vs optional with '?', recommending ttl values (10/30/100), and giving a concrete example. This is essential information the schema does not provide.

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 clearly states 'Apply multiple updates in ONE call' and then enumerates the supported operation types (e.g., context.set, task.update, note.add). This specific verb+resource combination distinguishes it from the individual sibling tools, which each handle a single operation.

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?

The description positions the tool as a batch alternative by noting it 'reduces friction; keeps context current' and lists all operations it can perform. This implies it should be used when multiple updates are needed, but it does not explicitly state when to prefer this over individual tools or provide any exclusions/when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChesterRa/ccontext'

If you have feedback or need assistance with the MCP directory API, please join our Discord server