Skip to main content
Glama

get_user_goals

Retrieves a user's Lattice goals by API ID, with optional limits and cursor pagination to browse large goal lists.

Instructions

Get goals for a user

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": {
      "id": "<id>"
    },
    "name": "get_user_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUser API ID
limitNoMax results to return (1-100)
startingAfterNoCursor for pagination (endingCursor from previous response)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it discloses nothing beyond the title: no indication of read-only vs mutating behavior, permission requirements, result ordering, whether closed/archived goals are included, or what happens on an unknown user ID. The only behavioral hint, pagination, comes from the schema rather than the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five words with zero waste, but also zero front-loaded value; it is terse to the point of under-specification rather than efficiently informative. Nothing is redundant because nothing beyond the name is said.

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

Completeness2/5

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

For a three-parameter tool with a required user ID, no output schema, and no annotations, the description should explain what a returned goal looks like, how pagination terminates, and whether results are filtered by state. None of this is present, so an agent has only the schema to work from.

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%, and the schema already documents id, limit (1-100), and startingAfter cursor usage, so the description adds no parameter meaning. The baseline of 3 applies because the schema does the heavy lifting.

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

Purpose3/5

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

"Get goals for a user" names a verb and resource and implies a per-user scope, which loosely separates it from get_goal (single goal) and list_goals. But it never states the distinction explicitly, so an agent must infer whether this differs from list_goals or get_user_tasks beyond the resource type.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. does it require the ID of an existing user?), and no mention of when to prefer get_goal or list_goals instead. The agent is left to guess selection criteria from the tool name alone.

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