Skip to main content
Glama
tillbooks

tillbooks

Official

env_switch

Destructive

Switches the active environment for a workspace, marking hosted environments read-only while keeping local main writable; unconfirmed calls return a plan without changes.

Instructions

Set the active environment for this face. Switching to a served (hosted) env records the pointer and marks the face read-only; a local main stays writable (D135). Destructive env-wide verbs stay refused on main regardless. Unconfirmed, returns a plan and changes nothing (P8).

Input Schema

NameRequiredDescriptionDefault
nameYes
confirmedNo
workspaceIdYes
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Moving well beyond the single destructiveHint annotation, the description discloses real consequences: the pointer is recorded, the face becomes read-only on hosted envs, main stays writable, destructive env-wide verbs remain refused, and unconfirmed calls are dry-run plans. This is genuinely useful behavioral context; the only shortfall is missing auth/permission or reversibility notes.

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?

Four compact sentences with the core action front-loaded and the dry-run caveat last. It is efficient, though the parenthetical spec references (D135, P8) consume space without informing an external agent.

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 mutation with no output schema and bare parameters, the description supplies good behavioral context and even a return hint ('returns a plan'). However, half the parameters (name, idempotencyKey) and any permission/reversibility detail remain undocumented, leaving the definition only partially 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?

With 0% schema description coverage, the description carries the load. It effectively explains the 'confirmed' parameter's dry-run semantics ('Unconfirmed, returns a plan and changes nothing') and implies 'name' and 'workspaceId' via 'env' and 'this face', but never addresses 'idempotencyKey' or states parameter names directly, leaving gaps.

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 verb+resource 'Set the active environment' is unambiguous and naturally distinguishes this mutation from env_current/env_status/env_list reads and env_create/env_delete. However, opaque internal jargon ('this face', 'D135', 'served (hosted) env', 'main') is never decoded, slightly blurring the exact resource being changed.

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?

Embedded rules give partial guidance: switching to a hosted env marks the face read-only, and an unconfirmed call returns a plan without applying. But the description never states plainly when an agent should choose env_switch over env_create, env_reset, or env_copy, so usage is more implied than prescribed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools