Skip to main content
Glama

List projects

list_projects
Read-onlyIdempotent

Lists Keystone projects and filters by exact name, domain ID, or project ID; a forbidden response means the required role is missing, not that no projects exist.

Instructions

List Keystone projects. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

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
nameNoExact project name.
limitNoMaximum items to return (1-100, default 50).
domain_idNoDomain ID, as returned by list_domains.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYesMaximum number of items requested.
completeYesTrue when no more items exist beyond this page.
resourceYesResource type of the items.
project_idYesProject whose session produced the list.
next_markerNoPass as marker to read the next page; null when complete or when the API has no marker paging.
observed_atYesUTC time the list was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / domain_id / description
      Added value: +"Domain ID, as returned by list_domains."
    • addedInput schema / properties / name / description
      Added value: +"Exact project name."
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing an authentication prerequisite (elevated role) and a failure-mode interpretation ('forbidden means the role is missing, not that the list is empty'). It also discloses the non-paged return behavior, which is exactly the kind of trait annotations cannot express.

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?

Three compact clauses with the resource and verb front-loaded, and each clause carries distinct information. The telegraphic phrasing ('forbidden means the role is missing') is slightly terse but never wasteful.

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?

All parameters are optional and fully described in the schema, an output schema exists, and the description covers the two non-obvious risks: the privilege requirement and the absence of pagination. Only the potential silent truncation implied by the limit parameter when results are not paged is left unaddressed.

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 100%, so every parameter (name, limit, domain_id, project_id) is already documented with defaults, bounds, and even cross-references to list_domains and get_scope. The description only adds the generic instruction to narrow with filters rather than per-parameter meaning, so the baseline of 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?

Opens with a specific verb+resource, 'List Keystone projects', which is unambiguous and clearly distinct from the resource-oriented siblings like list_domains or get_scope. It does not explicitly name an alternative tool, 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 Guidelines4/5

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

Gives actionable context: the role requirement ('more than a project reader role'), how to interpret a forbidden result, and the advice to 'narrow with filters' since results are not paged. It does not state when to prefer a sibling tool or when not to call this one, which keeps it below a 5.

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