Skip to main content
Glama
AgentHistoryMCP
by luo0629

List Discovered Projects

list_projects
Read-onlyIdempotent

List all local projects discovered across AI coding agents, including canonical root paths, Git remotes, active agents, and session counts, to see where prior work is stored and pick up context.

Instructions

List all local projects discovered across AI Coding Agents with canonical root paths, Git remotes, active agents, and session counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_unknownNoInclude sessions whose project directory could not be determined (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description's only addition is the set of fields returned, which is genuinely useful with no output schema, but it says nothing about ordering, size of results, or how discovery is scoped.

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?

One front-loaded sentence with zero filler, naming the resource first and the returned fields after. It is appropriately sized, though it could be split to give the return contents more prominence.

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 read-only, single-optional-parameter listing tool with full annotation coverage and no output schema, the description is nearly sufficient because it names the returned fields. The only soft spot is the unmentioned include_unknown toggle, which the schema already explains.

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?

There is a single optional parameter with 100% schema description coverage (include_unknown, default false, meaning documented in-schema). The description does not mention what excluding unknown projects implies for the result set, so it adds no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ("List all local projects") and enumerates the returned fields: canonical root paths, Git remotes, active agents, session counts. That makes it easy to separate from list_sessions, but it never explicitly contrasts with that sibling, so it stops short of a 5.

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?

The scope phrase "local projects discovered across AI Coding Agents" implies the discovery/overview use case, but there is no explicit when-to-use, when-not-to-use, or named alternative such as list_sessions for session-level work.

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