Skip to main content
Glama

list_goals

Retrieve paginated goals from Lattice, with optional filtering by lifecycle state. Use it to browse or locate goals by Draft, Active, Ended, or Archived status.

Instructions

List all goals (paginated), optionally filtered by state

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
limitNoMax results to return (1-100)
stateNoFilter by goal lifecycle state
startingAfterNoCursor for pagination (endingCursor from previous response)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It only notes that results are paginated; it does not state that this is a read-only listing operation, what the default page size or ordering is, or which goals (all visible vs. scoped) are returned.

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 short sentence with zero filler, front-loading the primary action before the optional filter. Nothing in it is redundant or padding.

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 three-parameter list tool with no output schema the description is minimally adequate, but it omits the default limit, result ordering, and the scope of goals returned, which an agent would need for correct invocation.

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%, with all three parameters documented including the state enum and its values, so the schema already does the heavy lifting. The description merely echoes the state filter and adds no format or default-value detail beyond 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?

States a specific verb and resource ("List all goals") plus scope hints (paginated, filterable by state), so the operation is unambiguous. It does not distinguish itself from the sibling get_user_goals, which also returns goals, leaving the agent to infer the difference from names alone.

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?

"optionally filtered by state" implies when the state parameter is useful, but there is no explicit guidance on when to choose this over get_user_goals or get_goal, and no mention of prerequisites or the default behavior when state is omitted.

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