Skip to main content
Glama

remove_context_item

Remove an item from a project context list using its dot_path and zero-based index.

Instructions

Remove an item from a list in the project context by index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoProject root directory..
indexYesZero-based index of the item to remove.
dot_pathYesPath to the list (e.g. 'active_tasks', 'key_files').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description carries the full burden of disclosure. It does not mention the destructive nature of the operation, what happens if the index is out of bounds, whether the change is reversible, or any side effects on the project context. The description only states the basic operation without behavioral context.

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, front-loaded sentence that conveys the essential purpose and method. Every word contributes meaning; there is no redundancy or filler.

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 and has an output schema, but the description lacks behavioral details such as error handling, side effects, or what happens to the list after removal. Given the absence of annotations, the description should compensate but only provides minimal information, making it adequate but not 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?

The input schema has 100% description coverage for all three parameters, so the schema already documents each parameter. The description adds the phrase 'by index,' which reinforces the index parameter's role but does not add meaning beyond the schema descriptions. Baseline of 3 is appropriate.

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 tool's action: 'Remove an item from a list in the project context by index.' It uses a specific verb ('remove'), identifies the resource ('item from a list in the project context'), and specifies the method ('by index'). This distinguishes it from sibling add/update operations.

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 for removing items from context lists, but it does not explicitly state when to use this tool over alternatives like update_context or other context modification tools. No exclusions or alternative tool mentions are provided.

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