Skip to main content
Glama

context_workspace_bind

Idempotent

Bind an existing encrypted DNS-DATA project context to one explicit absolute Windows workspace folder. Subsequent run_command operations with working_directory there and file edits within it can automatically log verified outcomes to the correct project without project= parameters. Bind only the requested project, on the specified authorized device. Never guess unrelated projects; no server-side workspace database.

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": {
      "project": "<project>",
      "workspace_root": "<workspace_root>"
    },
    "name": "context_workspace_bind"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoother
projectYes
device_idNo
workspace_rootYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the safety profile (not read-only, idempotent, non-destructive, closed-world), so the bar is lower. The description adds genuinely useful behavior: the binding changes later tool behavior so outcomes get logged without project= parameters, and it notes there is no server-side workspace database, implying local persistence. It says nothing about what happens on conflict with an existing binding, whether the path must exist, or how to undo (the unbind sibling is left unnamed).

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?

Front-loaded with the action and target, followed by the consequence and then the constraints; nearly every clause earns its place. The closing "no server-side workspace database" is terse and slightly cryptic but does add architectural context, so only minor trimming is warranted.

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 four-parameter binding tool with no output schema and zero schema coverage, the description covers the main semantics but leaves gaps an agent may hit in practice: the undocumented `source` parameter, whether an existing binding is overwritten, and failure modes such as a nonexistent or relative path. 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?

Schema description coverage is 0%, so the description must carry parameter meaning. It effectively characterizes project (an existing context), workspace_root (one explicit absolute Windows folder), and device_id (the specified authorized device), but the `source` parameter with its "other" default is never mentioned anywhere, leaving one of four params undocumented.

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?

Uses a specific verb ("Bind") with a precisely scoped resource: an existing encrypted DNS-DATA project context to one explicit absolute Windows workspace folder. The effect on later run_command and file edits is spelled out, so the tool is distinguishable from context_workspace_status/unbind by outcome. It stops short of naming a sibling, which keeps it at 4 rather than 5.

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

Usage Guidelines4/5

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

Gives concrete preconditions (project must already exist, folder must be an explicit absolute Windows path, device must be authorized) and an explicit prohibition ("Never guess unrelated projects"), which is real when-not guidance. It does not tell the agent how this relates to context_workspace_unbind or when rebinding vs. checking status is appropriate, so alternatives are only implied.

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