Skip to main content
Glama

setup_project

Create or link a RefBase project to the current workspace on first use, with options to configure manually or skip setup.

Instructions

First-time setup: Create or link RefBase project with current workspace

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": {
      "action": "<action>"
    },
    "name": "setup_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesChoose setup action: create new project, link to existing, configure manually, or skip
descriptionNoDescription for new project (if creating new)
projectNameNoName for new project (if creating new)
manualLanguageNoManual language (if configuring manually)
manualFrameworkNoManual framework (if configuring manually)
manualTechStackNoManual tech stack (if configuring manually)
detectedLanguageNoAuto-detected primary language from project files
detectedFrameworkNoAuto-detected framework from project configuration
detectedTechStackNoAuto-detected tech stack from project files
existingProjectIdNoID of existing RefBase project to link (if linking existing)
manualProjectNameNoManual project name (if configuring manually)
detectedProjectNameNoAuto-detected project name from current directory
detectedProjectPathNoAuto-detected project path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does almost none of it. It does not say whether the operation is idempotent, what 'skip' does, whether an existing project is overwritten or only linked, or what permissions/state are required.

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 short sentence with the setup condition front-loaded; nothing is redundant. Its brevity is more under-specification than verbosity, but as pure structure it is clean.

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?

For a 13-parameter mutation tool with no annotations and no output schema, one sentence is thin. An agent gets no explanation of the action-dependent parameter subsets (detected vs manual vs existingProjectId), no side-effect or return-value expectations, and no failure modes.

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 all 13 parameters, including the action enum and the detected*/manual* pairs, are already documented in the schema. The description adds only the phrase 'with current workspace', which is a small hint about how detected values are sourced, not new parameter meaning.

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 names a specific verb pair (create or link) and resource (RefBase project), plus a scope qualifier (first-time setup, current workspace). It is clearly distinguishable from the get_/save_/search_ siblings, though it never states what a linked/created project is used for afterwards.

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?

'First-time setup' implies the triggering context, so an agent can infer it runs once per workspace. However, it gives no guidance on choosing among the four actions (create_new, link_existing, configure_manual, skip) or on what to do if setup has already run.

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