Skip to main content
Glama

project_context_update

Create or update a shared project context in the authorized local encrypted memory store. Set objective, version, stage, completed work, next actions, blockers and file references. Requires expected_revision_id from project_context_get when updating, protecting edits made by other AIs. No extra model or cloud storage, and all accounts may use it under their existing quota/device/concurrency entitlements.

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": {
      "project": "<project>"
    },
    "name": "project_context_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
stageNo
sourceNoother
projectYes
versionNo
blockersNo
completedNo
device_idNo
objectiveNo
next_actionsNo
expected_revision_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds genuinely new behavior: it is an upsert (create or update), it writes to a local encrypted store rather than the cloud and consumes no extra model or cloud storage, and it uses optimistic concurrency via expected_revision_id to protect edits made by other AIs. It does not disclose what happens when the revision id does not match or what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description opens with the core action and the field list, which is well front-loaded. The trailing sentence about quota, device and concurrency entitlements is only loosely relevant to invoking the tool and slightly dilutes the message. The three sentences are dense, but they are otherwise efficient.

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?

For a non-idempotent write with 11 parameters and no output schema, the description supplies the essentials an agent needs: the upsert semantics, the concurrency token and where to get it, and the storage and privacy posture. The remaining gaps are the semantics of project, source and device_id, and what a caller should expect when there is a revision conflict. Both gaps are real, but neither is fatal.

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 0% across 11 parameters, so the description has to carry meaning, and it does name most payload fields: objective, version, stage, completed work, next actions, blockers and file references. It also explains expected_revision_id precisely. However, project, source and device_id are never explained, and there are no format hints (for example, how files are referenced or what values source accepts), so it only partly compensates for the coverage gap.

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?

The description states a clear verb-plus-resource: 'Create or update a shared project context in the authorized local encrypted memory store', and then enumerates the fields that can be set. It is easy to distinguish from project_context_get because it explicitly calls out that get supplies the expected_revision_id. It does not, however, distinguish itself from the sibling memory_update, so the agent must infer the boundary between 'project context' and general memory.

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 a concrete usage rule: updating requires expected_revision_id obtained from project_context_get, which both names the alternative and explains its role. It also confirms that any account may call this tool under its existing entitlements, which removes a potential permission doubt. It does not explicitly say when to prefer this tool over the memory_* family or what to do on a revision conflict.

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