Skip to main content
Glama

MagicInterview: set project context attachment

magicinterview_set_project_context_attachment
Destructive

Attach or detach one shared source on a project and propagate the change to its conversations while preserving unrelated individual sources.

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>",
      "contextId": "<contextId>",
      "attached": "<attached>"
    },
    "name": "magicinterview_set_project_context_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachedYes
contextIdYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds genuinely new behavioral facts: the change cascades to the project's conversations, and unrelated individual sources are preserved. Those propagation and preservation semantics are exactly what an agent needs before calling a destructive mutation, and are not derivable from the annotations.

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?

A single dense sentence with the action and its effect front-loaded and no filler. Slightly abstract phrasing ("one shared source") costs a little precision but nothing is wasted.

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 destructive three-parameter mutation with no output schema, the description covers cascade and preservation well. It omits what detach does to the source itself, how existing attachments affect the result, and any failure mode, which leaves the agent with open questions before invoking a destructive write.

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 0%, so the description must carry parameter meaning; it does partially map all three ("one shared source" = contextId, "project" = projectId, "attach or detach" = attached). It still provides no format, identifier expectations, or edge-case behavior (e.g. detaching an already-detached source), leaving real gaps at zero coverage.

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?

States a specific verb pair ("attach or detach") plus the resource (a shared source on a project) and the scope of effect (propagate to its conversations). It is clearly distinguishable from context-source CRUD siblings, though it does not name an alternative explicitly.

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?

Usage is implied by the phrase "on a project" and "propagate the change to its conversations", which hints this is the project-level counterpart to per-conversation attachment. However, there is no explicit when-to-use vs when-not guidance, no prerequisites, and no named alternative such as magicinterview_set_context_attachment.

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.