Skip to main content
Glama

setup_project

Register and initialize a new project, creating a local directory and optionally cloning a git knowledge repo, then indexing and binding your session to the project.

Instructions

Register and initialise a new project in Flaiwheel.

    Side effects: creates a project directory under MCP_DOCS_PATH, optionally
    clones the git knowledge repo, runs an initial index, and binds this
    session to the new project. Idempotent — safe to call again if the
    project already exists (just rebinds the session).

    Call once per project. Use set_project() to switch between already
    registered projects. Use list_projects() to see what exists.

    Args:
        name: Short project identifier, no spaces (e.g. "my-app")
        git_repo_url: HTTPS URL of the knowledge git repo (optional,
                      can be added later via the Web UI)
        git_branch: Branch to track for git sync (default: "main")
        display_name: Human-readable label shown in the Web UI (optional)
        git_auto_push: Auto-commit and push write_*() docs to git (default: True)
        git_sync_interval: Background git pull interval in seconds (default: 300)

    Returns:
        Project name, chunk count, active-project confirmation, and next steps.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
git_repo_urlNo
git_branchNomain
display_nameNo
git_auto_pushNo
git_sync_intervalNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Lists side effects: creates directory, clones git repo, runs index, binds session. States idempotent behavior. With no annotations, the description fully discloses the tool's actions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with clear sections. The description is thorough but concise, with no redundant sentences. Every part adds value.

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

Completeness5/5

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

Given the complexity (6 parameters, side effects, idempotency), the description covers all needed aspects. The return value is described adequately. No gaps identified.

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

Parameters5/5

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

Schema description coverage is 0%, but the description includes a detailed Args section explaining each parameter's purpose and defaults, adding significant meaning beyond the schema.

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?

The description clearly states that the tool registers and initialises a new project in Flaiwheel. It distinguishes itself from sibling tools by mentioning set_project() for switching and list_projects() for viewing existing projects.

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

Usage Guidelines5/5

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

Explicitly says 'Call once per project' and notes idempotency, so it can be safely called again. Provides alternatives (set_project, list_projects) for other operations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dl4rce/flaiwheel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server