Skip to main content
Glama

List goals

list_goals
Read-only

List goals, optionally filtered by brain, agent, or status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": "<limit>"
    },
    "name": "list_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes
statusNo
agentIdNo
brainIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description. The description adds no behavioral context beyond that - it says nothing about result ordering, pagination behavior despite the limit parameter, or whether results are scoped to the caller - so it contributes essentially nothing on this dimension.

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 tight sentence with no filler, and the resource is front-loaded ahead of the filter qualifiers. Nothing in it could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple four-parameter read tool with no output schema, the definition is minimally viable: an agent knows what it lists and what it can filter on. However, with 0% schema description coverage and an undocumented required limit parameter, more detail was warranted than one sentence provides.

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 0%, so the schema supplies only names, types, and constraints. The description maps three of the four parameters to plain-language filters (brain→brainId, agent→agentId, status→status), which is genuine added meaning, but it never mentions limit, the one required parameter, nor the allowed status values already enumerated in the schema.

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?

"List goals, optionally filtered by brain, agent, or status" gives a specific verb (list) and resource (goals) plus the filterable dimensions, which is enough to separate it from siblings like list_brains or list_agents. It stops short of explicitly contrasting with any named alternative, so it is clear but not sibling-differentiating at the top level.

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?

The word "optionally" signals that filters are not required, implying a list-all-by-default usage pattern, but there is no explicit when-to-use guidance, no stated preconditions, and no pointer to a different tool for fetching a single goal. Usage is inferable rather than prescribed.

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