Skip to main content
Glama

mt_set_project

Initializes a project in memory-tree and returns its canonical name, so agents can anchor versioned project memory to a stable identifier.

Instructions

显式初始化项目,返回规范项目名

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>"
    },
    "name": "mt_set_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes显式项目名,使用 mt_set_project 初始化

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description must carry most of the burden. It correctly signals a state-creating setup operation and discloses the return value (canonical project name), which is useful given there is no output schema, but it says nothing about idempotency, overwrite behavior, or side effects of initializing an existing project.

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 clause covering purpose and return with zero filler. It is efficient, though for a mutating tool it is arguably too short to be genuinely self-sufficient.

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 mutation tool with no output schema, the description covers what it does and what it returns, which is the minimum. Missing are the state it creates, error/duplicate handling, and its ordering relationship to the mt_status / mt_branch siblings, which an agent needs to sequence calls correctly.

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 100%, so baseline is 3. The schema's own parameter text is circular ('使用 mt_set_project 初始化'), and the description only hints at normalization semantics by promising a '规范项目名' back — it does not say whether the input name may be rejected or rewritten.

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 and resource ('显式初始化项目' — explicitly initialize a project) and adds the return value ('返回规范项目名'). No sibling covers project initialization, so differentiation is not needed, but it never explains how 'project' differs from the branch/checkpoint concepts the siblings operate on.

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 word '显式' implies this is a deliberate setup step, but there is no explicit when-to-use guidance, no prerequisites (does it need to precede mt_status / mt_branch?), and no statement about what happens if the project is already initialized.

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