Skip to main content
Glama

get_project_info

Look up a project's name, type, and root path by UUID4 from the local registry. Returns read-only metadata or an error if the project ID is not registered.

Instructions

Return project metadata (name, type, root_path) for a project ID.

Looks up the global project registry at ~/.fw-context/projects.db. Use this to identify a project from its UUID4 — find out what build system it uses, its name, and where it was last indexed.

Read-only. No side effects.

Args: project_id: Project ID (UUID4 hex) to look up.

Returns: dict: {project_id, name, project_type, root_path, created_at, updated_at} or {"error": "..."} when the project_id is not registered.

On failure the dict holds only ``error`` with the reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID (UUID4 hex) to look up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.30.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv0.22.1

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full transparency burden. It explicitly discloses the underlying data source ('~/.fw-context/projects.db'), states 'Read-only. No side effects.' and defines the failure contract ('On failure the dict holds only error with the reason'). This is excellent behavioral disclosure beyond the bare operation.

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?

The description is well organized with a front-loaded summary, usage context, Args, and Returns sections. It is slightly redundant around failure behavior — the error dict is described both in Returns and again in the final sentence — but overall it is compact and scannable.

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?

For a simple one-parameter tool with no output schema and no annotations, the description covers the purpose, data source, side-effect profile, return fields, and error shape. The only notable gap is that it does not state what happens if project_id is empty or omitted, given the parameter has a default and is not marked required.

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?

The schema already provides 100% coverage by describing project_id as 'Project ID (UUID4 hex) to look up.' The description's Args section largely repeats this. It adds context that the ID must be registered, but does not explain behavior for an omitted or invalid project_id, so it provides only marginal additional semantic value.

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 opens with a specific verb and resource: 'Return project metadata (name, type, root_path) for a project ID.' It clearly identifies this as a single-project lookup against a global registry, distinguishing it from sibling tools like list_projects and get_active_build by focusing on UUID4-based identification and build-system metadata.

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?

The description gives clear usage context: 'Use this to identify a project from its UUID4 — find out what build system it uses, its name, and where it was last indexed.' This tells the agent when the tool is appropriate, though it does not explicitly name alternatives or state when not to use it.

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