Skip to main content
Glama

Update Important context

update_context

Replace a project's Important context so the agent and developer retain lasting background facts across conversations; send the full new text or clear it.

Instructions

Replace the project's Important context: lasting background you and the Developer need in every conversation, such as what the project is, key facts, where things live and choices that hold for the whole project. Not for rules (save_standing_instruction) or for one Goal's details. get_status shows the current text: send the whole new text, or an empty text to clear it. At most 4000 characters.

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": {
      "text": "<text>"
    },
    "name": "update_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNoWith global: "computer" for About this computer (setup facts: the operating system, tools, where CI runs, hardware), "me" for About me and how I work (the Developer's preferences).
textYesThe whole Important context, in plain words; short paragraphs or a list.
globalNotrue to replace a part of the context for everything instead (every project, and anywhere Progressor runs on this computer). Only when the Developer asks for it. Give part too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and usefully discloses replacement semantics, clearing by empty text, and a 4000-character limit. It does not mention the global scope that can affect every project and Progressor installation, a notable side-effect disclosure left only to the schema.

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 front-loaded with the core replace operation and then efficiently layers in scope, exclusions, read-before-write guidance, and the character limit. Every sentence contributes a distinct constraint or routing detail without repetition.

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 three-parameter mutation tool with full schema coverage and no output schema, the description supplies the necessary purpose, alternatives, replacement/clearing behavior, and size constraint. The remaining parameter details, including part and global scope, are fully covered by the schema.

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 part, text, and global are already documented in the input schema. The description adds meaning for text by saying the whole new text must be sent, that empty text clears it, and that the limit is 4000 characters, though it adds little for part or global.

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, resource, and scope: 'Replace the project's Important context' as lasting background for every conversation. It explicitly distinguishes this from save_standing_instruction for rules and from one Goal's details, so an agent can identify the correct tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when the content belongs here (lasting background such as project purpose, key facts, locations, and project-wide choices) and when it does not (rules or one Goal's details). It also names get_status for reading the current text and explains the whole-text replacement and empty-text clearing behavior.

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