Skip to main content
Glama

List goals

list_goals
Read-onlyIdempotent

List the goal hierarchy that todos serve, with each goal's linked todo 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_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
brainNoBrain (the agent's "separate brain" for a task area) — slug or id. Omit for uncategorized.
statusNoactive (default) | achieved | paused | dropped | all
agent_idNoOnly goals owned by this agent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 closed-world scope, so safety is fully covered. The description adds return-shape context ('hierarchy' plus linked todo counts), which is genuinely useful with no output schema, but says nothing about ordering, depth, or whether counts include completed todos.

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?

A single well-formed sentence with the resource and the returned payload front-loaded; no filler, no restatement of the title.

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?

With three optional parameters fully documented in the schema and no output schema, the description's job is mainly to convey what comes back, which it does via 'goal hierarchy' and 'linked todo counts'. It is nearly complete for a simple read tool, with only ordering/pagination behavior left unstated.

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 brain, status, and agent_id are already fully documented including the omit-for-uncategorized case and the status enum values. The description adds no filtering semantics beyond the schema, so the 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?

The description gives a specific verb ('List') and resource ('goal hierarchy'), plus a distinguishing detail that each goal carries linked todo counts. It is clear what the tool returns, though it does not name any sibling or contrast scope with another tool.

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?

Usage is only implied by the phrase 'the goal hierarchy that todos serve' — an agent can infer this is the read path for goals, but there is no explicit when-to-use, when-not-to-use, or prerequisite guidance. The default status behavior (active) lives in the schema rather than the description.

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