Skip to main content
Glama

aft_use_project

Sets the AFT project root for the current session, configuring the bridge so code-intelligence tools operate on the chosen project.

Instructions

Set the AFT project root for this session (configures the aft bridge).

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": {
      "root": "<root>"
    },
    "name": "aft_use_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the setting is session-scoped via the bridge rather than globally persistent, but says nothing about whether the path is validated, what happens if the root is invalid, whether a prior root is overwritten, or what a successful call returns.

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 front-loaded sentence with the action and scope stated first and no filler. It is efficient, though the terse parenthetical is doing a lot of unexplained work.

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 one-parameter session-state setter with no output schema and no annotations, the description covers the core action but omits the operant details an agent would need: call ordering relative to other aft_* tools and failure/validation behavior. Adequate but clearly incomplete.

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% for the single `root` parameter, so the schema contributes only the bare name and a string type. The description clarifies that the value is an AFT project root, but adds no format, path-style, or validation semantics (absolute path? must exist? trailing separator?).

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 gives a specific verb and resource ("Set the AFT project root") plus a scope qualifier ("for this session"), which cleanly separates it from the read-only aft_* siblings. It stops short of naming any sibling explicitly, but the setter-vs-query distinction is obvious from the wording.

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?

There is no explicit when-to-use statement, no prerequisite call-out (e.g. "call before other aft_* tools"), and no guidance on when not to use it or whether it can be re-invoked mid-session. The parenthetical "configures the aft bridge" only weakly implies ordering, leaving the agent to infer it.

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