Skip to main content
Glama

List spaces

list_spaces
Read-only

The user's Luala spaces: their personal one and any shared one they are in, each with its own characters, photos and credits. Each has its id (the value the other tools take as space), its name, whether it is personal or shared, the user's role there (owner or member) and its balance. The tools act in the personal space unless given another. When the user has more than one and hasn't said which a shoot or a list is for, ask.

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_spaces"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a safe, non-destructive, closed-world read, so the bar is lower. The description still adds real value beyond them by disclosing the returned fields and the crucial semantic that a space's id is the value other tools accept as 'space', plus the default-personal-space behavior.

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 sentences, front-loaded with the resource and its fields, then the cross-tool default behavior, then the disambiguation rule. Dense but every sentence carries information; minor cost is the long clause listing per-space attributes.

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?

There is no output schema, so the description carries the full burden of describing return values, and it does so thoroughly: id, name, personal/shared, role and balance. It also covers the ambiguity handling an agent needs for a zero-parameter listing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. The description usefully explains the meaning of the returned id field in relation to other tools' inputs, even though there are no input parameters to document.

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 description enumerates the exact resource and its contents: the user's personal space plus any shared spaces, each with characters, photos, credits, id, name, type, role and balance. An agent can tell this is a space-enumeration read, distinct from siblings like list_characters or balance, though the listing verb itself only appears in the title.

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 clear operational context: all other tools act in the personal space unless a space is specified, and when the user has multiple spaces and hasn't named one, the agent should ask rather than guess. There is no explicit 'when not to call' or named alternative tool, but no plausible alternative exists for this resource.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources