Skip to main content
Glama

Register Project

register_project
Idempotent

Adds a project to the global registry so the agent can switch context to that repository, enabling context-aware memory and session handoff.

Instructions

Register a new project in the global registry. This is required before the agent can switch context to this repository.

Input Schema

NameRequiredDescriptionDefault
nameNoThe key/name of the project in the registry.
use_test_dbNo
absolute_pathNoThe absolute path to the local repository.
project_numberNoThe GitHub Project number, if applicable.

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
dataNo
errorNoHuman-readable error message
itemsNo
detailsNoAdditional error context
messageNo
projectNo
successNo
categoryNoError category (validation, query, connection, internal)
projectsNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety and idempotency profile is covered. The description adds the prerequisite context about switching repository context, but it does not explain duplicate handling, permissions, or error behavior beyond what annotations imply.

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?

Two short sentences, front-loaded with the action and followed by the key prerequisite. There is no wasted text.

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?

An output schema exists and annotations cover the safety profile, so the description need not explain return values. It supplies the important prerequisite for use, though it could say more about duplicate registration or required inputs.

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 75%, with name, absolute_path, and project_number documented in the schema, while use_test_db is undocumented. The description adds no parameter-level meaning, so the schema does most of the work and a baseline 3 is appropriate.

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 states a specific verb and resource: "Register a new project in the global registry." It is clear what the tool does, but it does not explicitly distinguish itself from sibling project tools such as update_project or get_project.

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?

It gives a clear usage condition: registration is "required before the agent can switch context to this repository." It does not name alternatives or state when not to use it, but the prerequisite context is strong.

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