Skip to main content
Glama

List goals

list_goals
Read-only

List goals in the workspace, each with its owner, team, co-owners and linked task count. Read-only. Use it to find goal IDs before calling get_goal, update_goal or align_entities; use get_goal when you need one goal with its alignment edges. Filters combine with AND. Returns { goals, total }, capped at 200 goals with no pagination, sorted by status, then manual order.

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
mineNoOnly show goals owned by the current user
typeNoFilter by type: OKR, SMART, OGSM, or CUSTOM
statusNoFilter by lifecycle: DRAFT, ACTIVE, CANCELLED, or COMPLETED for completed items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnlyHint=true, and the description adds behavior those annotations cannot convey: filters combine with AND, results are capped at 200 with no pagination, and sorting is by status then manual order. The 200-cap-without-pagination disclosure is exactly the kind of constraint that would otherwise cause silent truncation errors.

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?

Six short sentences, each carrying distinct information: purpose, safety, primary use case, alternative, filter combination rule, and return contract. Nothing is repeated and the critical routing guidance sits before the return-shape detail.

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 supplies the return contract itself — `{ goals, total }`, the 200-item cap, and sort order — which is what an agent needs to interpret results. For a three-parameter read-only list tool, nothing material is missing.

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% with enums documented inline, so the baseline is 3, and the description earns a bump by stating that filters combine with AND — semantics the schema does not express. It does not, however, clarify how `mine` interacts with the other filters or resolve the mismatch where the schema's status enum includes PAUSED but its inline text omits it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("List goals in the workspace") and immediately enumerates what each row contains (owner, team, co-owners, linked task count), so the agent knows both the operation and the payload shape. It explicitly contrasts with the sibling get_goal, which returns a single goal with alignment edges.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives a concrete motivating use case (find goal IDs before get_goal, update_goal or align_entities) and an explicit exclusion rule ("use get_goal when you need one goal with its alignment edges"). Both the when-to-use and when-not-to-use conditions are stated rather than inferred.

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