Skip to main content
Glama

use_project

Idempotent

Select the active project for other tools by ID, name, or folder; it remembers the opened project and returns its compositions.

Instructions

Which project the other tools work on from now: an id from list_projects, its name, or a project folder (one with moga.json; it is remembered as opened). open_project and new_project also switch to the project they open or make. Returns the project and its compositions.

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": "use_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesAn id from list_projects, or a folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnly=false, idempotent=true and destructive=false; the description explains that side effect by noting a folder is 'remembered as opened', which tells the agent state persists. It also discloses the return payload (the project and its compositions) and the moga.json requirement for folder input, going beyond the annotation set.

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?

Two sentences, front-loaded with the core effect and with the sibling disambiguation packed into one clause. The opening is slightly clipped ('Which project the other tools work on from now' reads as a fragment), but no sentence is wasted.

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

Completeness4/5

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

A single-parameter state-setting tool with no output schema, and the description covers the accepted inputs, the folder validity rule, the persistence side effect, and what is returned. Little an agent would need to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and the schema already describes the parameter as an id or folder, but the description adds two things the schema does not: a project name is also accepted, and a folder must contain moga.json. That extra constraint knowledge is directly actionable at call time.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific effect — setting which project the other tools operate on from now — and enumerates the three accepted identifier forms (id, name, folder with moga.json). It also distinguishes itself from open_project and new_project, which switch only as a side effect of opening or creating.

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?

Explicitly names the two sibling tools that also change project context and explains the difference: they switch to whatever they open or create, implying use_project is for switching to an existing project without opening it. There is no explicit 'do not use when' clause, but the routing signal is clear enough to choose correctly.

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