Skip to main content
Glama

p6_list_projects

Read-onlyIdempotent

Lists Primavera P6 projects with pagination, EPS filtering, and optional baselines or template exclusion, enabling project browsing and selection by EPS or Project ID.

Instructions

Projects, one page: {total, offset, returned, next_offset, rows}. Row: Project ID, name, data date, planned start, scheduled finish, status (of the project WBS node), baseline_of, and the EPS node holding it: eps_id, eps_name, eps_path (EPS names from the top, joined with ' > '); all three None for a project outside every EPS node. EPS nodes are never listed; baselines only with include_baselines=True (baseline_of is set); exclude_templates=True leaves out the P6 template projects (status WS_Template, or no EPS node). eps= an EPS ID: the projects of that EPS node and of every EPS below it. order: 'project' (Project ID) or 'eps' (EPS tree order as p6_list_eps order='tree', then Project ID; projects outside every EPS node last).

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": "p6_list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
epsNo
limitNoRows per page (max 200).
orderNoproject
offsetNoRows to skip (next_offset of the previous page).
exclude_templatesNo
include_baselinesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.2.0
    • removedInput schema / properties / eps / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / eps / default
      Removed value: -null
    • addedInput schema / properties / eps / type
      Added value: +"string"
    • changedInput schema / properties / offset / description
      Previous value: -"Rows to skip: pass next_offset from the previous page."New value: +"Rows to skip (next_offset of the previous page)."
  2. Changed7 schema fields changedv3.5.0
    • removedInput schema / properties / eps / title
      Removed value: -"Eps"
    • removedInput schema / properties / exclude_templates / title
      Removed value: -"Exclude Templates"
    • removedInput schema / properties / include_baselines / title
      Removed value: -"Include Baselines"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • removedInput schema / properties / order / title
      Removed value: -"Order"
    • removedInput schema / title
      Removed value: -"p6_list_projectsArguments"
  3. Changed3 schema fields changedv2.0.0
    • addedInput schema / properties / eps
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Eps"
      +}
    • addedInput schema / properties / exclude_templates
      Added value: +{
      +  "default": false,
      +  "title": "Exclude Templates",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "default": "project",
      +  "enum": [
      +    "project",
      +    "eps"
      +  ],
      +  "title": "Order",
      +  "type": "string"
      +}
  4. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world call, so the safety bar is met; the description goes further by disclosing the pagination envelope and that offset should be the previous page's next_offset, plus that eps_id/eps_name/eps_path are all None for projects outside every EPS node. It also explains that include_baselines must be True for baselines to appear and that exclude_templates drops WS_Template/no-EPS projects, which is real behavioral context rather than restatement.

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?

It is front-loaded with the return envelope and then groups row fields, filters, and ordering in a logical sequence with no filler sentences. The telegraphic semicolon-heavy phrasing is information-dense but occasionally requires re-parsing, which costs it the top mark.

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?

With no output schema, the description correctly supplies the return envelope and the full row shape, including null semantics for projects outside any EPS node. Given six optional parameters, no required inputs, and a read-only annotation profile, nothing an agent needs to call it correctly is missing.

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 only 33%, so the description must carry the load and it does: eps is defined as the node plus all descendants, order's two enum values are spelled out ('project' = Project ID, 'eps' = EPS tree order then Project ID with outside-EPS projects last), and exclude_templates and include_baselines each get precise semantics. Only limit is left to the schema, where it is already documented as max 200.

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 opening 'Projects, one page: {total, offset, returned, next_offset, rows}' names the resource and makes clear this is a paginated list of P6 project rows, with the row field inventory removing ambiguity about what a 'project' entry contains. It never names a direct alternative to use instead, but the explicit note that 'EPS nodes are never listed' implicitly separates it from p6_list_eps/p6_list_wbs.

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 usable selection context: 'eps= an EPS ID: the projects of that EPS node and of every EPS below it' tells the agent exactly when to use the eps filter, and 'EPS nodes are never listed' plus the cross-reference to p6_list_eps order='tree' tells the agent what this tool will not return. There are no explicit when-not-to-use statements or named alternatives for project-level queries, so it stops short of full routing guidance.

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