Skip to main content
Glama

add_environment

Pair a T3 Code environment directly and store its scoped session to enable future MCP requests, simplifying environment management and turn handling.

Instructions

Pair a T3 Code environment directly and save its scoped session for future MCP requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grantNo
labelNo
endpointNo
pairingUrlNo
environmentIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
environmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations provide only generic hints (readOnly, idempotent, destructive all false). The description discloses the key behavior: pairing and persisting a scoped session, which is a meaningful side effect. However, it does not address permissions, duplicate-pairing behavior, or whether an existing session gets overwritten.

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?

The description is a single sentence with no filler, and it front-loads the main action. Qualifiers like 'directly' and 'scoped session' add useful context, though 'T3 Code' may be jargon to some agents.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters, zero required parameters, and zero schema descriptions, the tool needs more invocation context than this. The description covers the why but not the how; an agent would struggle to construct a valid call. The presence of an output schema helps with return values, not input construction.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries full responsibility for explaining the five parameters—grant, label, endpoint, pairingUrl, and environmentId—but it explains none of them. The description gives high-level intent but no guidance on how to populate the arguments or which combinations are valid.

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 action—'Pair a T3 Code environment'—and a clear outcome: saving its scoped session for future MCP requests. It is distinguishable from sibling tools like list_environments, start_turn, and continue_turn, though 'directly' is somewhat ambiguous.

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

Usage Guidelines2/5

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

The phrase 'for future MCP requests' implies this should happen before using other tools, but there is no explicit when-to-use guidance, no prerequisites, and no mention of when to prefer add_environment over related tools. An agent is left to infer the intended workflow.

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