Skip to main content
Glama

List catalog services

list_services
Read-onlyIdempotent

Lists Keystone catalog service entries such as compute and network for OpenStack service inventory; use filters to narrow results, and treat forbidden responses as a missing role, not an empty list.

Instructions

List Keystone catalog entries such as compute or network, not running daemons. 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_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoService type, e.g. compute.
limitNoMaximum items to return (1-100, default 50).
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. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: an auth precondition ('usually needs more than a project reader role'), an error-interpretation rule ('forbidden means the role is missing, not that the list is empty'), and a pagination trait ('not paged'). The error-semantics guidance is the kind of detail annotations cannot express and directly prevents a wrong conclusion by the agent.

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?

Three short sentences, each doing distinct work: scope, auth/error semantics, pagination-plus-filtering. The disambiguation is front-loaded and there is no filler or redundancy.

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?

For a no-required-param list tool with a full output schema, the description covers everything an agent needs to call it correctly: what is and is not returned, auth prerequisites, how to read a failure, and that there is no paging. Return-value explanation is correctly omitted since an output schema exists.

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 coverage is 100%, with descriptions on all three parameters (type, limit, project_id) including the get_scope cross-reference, so the schema already carries the parameter semantics. The description only contributes the general 'narrow with filters' hint; baseline 3 applies.

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?

States a specific verb and resource ('List Keystone catalog entries') and immediately scopes it against the confusable siblings by adding 'not running daemons' — which is exactly what separates it from list_compute_services, list_network_agents, and list_volume_services. An agent can route correctly without opening any schema.

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 clear usage context: catalog entries only (compute/network service endpoints), and 'narrow with filters' as the selection strategy, plus the role prerequisite for when the call is viable. It does not name the alternative sibling tools explicitly, so it stops short of a full when-to-use/when-not-to-use map.

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