Skip to main content
Glama

Manage project context

project_manage_context
Idempotent

Add or remove a source, collection, symbol set, or theme from a project context. Adding a resource makes it available to project layer and query tools.

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": {
      "projectId": "<projectId>",
      "action": "<action>",
      "resourceType": "<resourceType>",
      "resourceId": "<resourceId>"
    },
    "name": "project_manage_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
actionYes
projectIdYes
resourceIdYes
resourceTypeYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is largely covered. The description adds one genuinely useful behavioral fact — that an added resource becomes visible to project layer and query tools — but says nothing about what removal does to dependent layers, whether re-adding is safe, or what permission the caller needs.

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

Conciseness4/5

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

Two short sentences, front-loaded with the operation and followed by the one consequence that matters most. There is no filler, though the second sentence could have been spent on the more consequential unstated behavior of removal.

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?

For a six-parameter mutation tool with low schema description coverage and no output schema, the definition covers the core operation and its downstream effect but omits removal side effects, the meaning of title, and how resourceId is interpreted per resourceType. It is adequate to attempt the call correctly, but not complete enough to predict the result confidently.

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 only 17%, so the description must carry more weight; it does explain the meaning of the action and resourceType values by pairing 'add or remove' with the four resource kinds. It leaves the relationship between resourceId and resourceType, and the role of the optional title parameter, entirely unaddressed.

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 specific verb pair (add/remove) and an enumerated set of resources (source, collection, symbol set, theme) scoped to a project context, which lets an agent understand the operation without opening the schema. It does not, however, contrast itself with similarly named siblings such as project_manage_groups or project_add_layer, so sibling differentiation is left to inference.

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?

'Adding a resource makes it available to project layer and query tools' gives an implied when-to-use rationale: call this before using layer/query tools on a resource. There is no explicit when-not guidance, no mention of preconditions (e.g., resource must already exist), and no named alternative for related operations such as group management or layer addition.

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