Skip to main content
Glama

add_to_context_list

Add an item to any list field in the project context, such as tech stack languages, key files, or goals. Provide the dot_path to the list and the item to append, updating the persistent project brain.

Instructions

Add an item to a list field in the context (e.g. tech_stack.languages, key_files, active_tasks, goals).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYesItem to add (string, or JSON for complex items).
pathNoProject root directory..
dot_pathYesPath to the list field.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only says 'Add an item' without disclosing whether items are appended, duplicates are handled, the path must already exist, or whether it returns the updated context. This lack of detail for a mutation operation is a notable gap.

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 a single concise sentence with illustrative examples, front-loaded with the action and resource. Every word earns its place; no fluff.

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?

The tool is simple, with a well-documented schema and an output schema present. However, with no annotations, the description does not cover behavioral details such as error conditions or prerequisites (e.g., the list field must exist). It is adequate but leaves some gaps for a complete understanding.

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 coverage is 100% (all parameters have descriptions), so the baseline is 3. The tool description adds no additional parameter semantics beyond the schema; it only points to example list fields, which the dot_path description already covers. No value added beyond schema.

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 the action ('Add an item') and the resource ('a list field in the context'), with concrete examples like tech_stack.languages and key_files. This distinguishes it from sibling tools such as add_task (which targets a specific task list) or update_context (which likely modifies a field rather than appending to a list).

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

Usage Guidelines3/5

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

The description implies usage via examples ('e.g. tech_stack.languages, key_files'), but it does not explicitly state when to use this tool over alternatives like update_context or add_key_file, nor does it mention when not to use it. Guidance is implicit rather than explicit.

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/pranjal2410719/dev-mcp'

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