Skip to main content
Glama

list_goals

Read-only

List goals (the 'why' above todos). Optional agent_id, brain_id, status. user_id defaults to the caller.

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
statusNoOnly entries with this status
user_idNoID of the user
agent_idNoID of the agent
brain_idNoID of the brain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / brain_id / description
      Added value: +"ID of the brain"
    • addedInput schema / properties / status / description
      Added value: +"Only entries with this status"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds the non-obvious default that user_id resolves to the caller, which is real behavioral information, but it says nothing about result ordering, pagination, or what happens when multiple filters are combined.

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 terse clauses with zero filler; the core purpose is front-loaded and the parameter notes follow in priority order. Nothing could be removed without losing information.

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?

For a simple read-only list tool with no required parameters and no output schema, the definition covers purpose, filters, and defaulting well enough to call it correctly. Return shape and ordering are unspecified, but that is the only notable gap.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns above baseline by clarifying that agent_id, brain_id and status are optional filters and that user_id is defaulted rather than required. That default is not present in the schema and materially affects how the tool is called.

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?

States a specific verb and resource ("List goals") and adds a domain gloss ("the 'why' above todos") that tells an agent what a goal is relative to adjacent concepts. It does not name or distinguish itself from any sibling list_* 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 Guidelines3/5

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

Implies usage by listing the three optional filters and noting user_id defaults to the caller, which signals 'use this to browse goals, optionally narrowed'. It never states when to prefer it over another tool or when not to use it, so guidance remains implicit.

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.