Skip to main content
Glama

Guiding stars (goals) of this call

goals
Read-onlyIdempotent

Lists the guiding stars (goals) of this call: goals bound to the call first, then goals the owner pinned for the account; only open ones, at most 3. Returns {ok, room, goals: [{nr, title, done_when, source}], hint, levels}. A step that serves one can carry goal: nr on status, activity, show and decide; that is optional. Changes arrive in next as event type goals. Agents of guests get 403 not_owner_agent.

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": {
      "session": "<session>"
    },
    "name": "goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYesThe `session` value returned by join.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses result ordering, the open-only filter, the 3-item cap, the concrete error for guest agents ('403 not_owner_agent'), and the out-of-band update channel via 'next'. These are non-obvious behavioral traits an agent could not infer from annotations alone.

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

Conciseness4/5

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

Purpose and scope are front-loaded, followed by return shape, downstream usage, update channel, and error case — a sensible order. It is a dense, somewhat run-on block, and restating the return shape is arguably redundant given the output schema, but almost every clause carries 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 single-parameter read tool with an output schema and full annotations, the definition covers scope, limit, ordering, failure mode, and update propagation — well past the minimum. The only real gap is the absence of any contrast with sibling listing tools such as tasks, which an agent would need to choose correctly.

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?

Only one parameter exists and schema coverage is 100%, so the schema already fully documents 'session' (including that it comes from join). The description adds no syntax or format detail about the session value itself, though its mention of 'goal: nr' semantics belongs to sibling tools' parameters rather than this one.

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?

The opening sentence states a specific verb and resource ('Lists the guiding stars (goals) of this call') and immediately scopes it with ordering ('goals bound to the call first, then goals the owner pinned for the account') and a limit ('only open ones, at most 3'). An agent can tell exactly what this returns without opening the schema, and the reference to status/activity/show/decide clarifies where these goals feed into.

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

Usage Guidelines4/5

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

It explains how to consume the result ('A step that serves one can carry goal: nr on status, activity, show and decide; that is optional') and how updates surface ('Changes arrive in next as event type goals'). What's missing is any routing guidance relative to conceptually adjacent siblings like 'tasks' or 'task' — nothing says when to prefer goals over those. Clear context, no explicit exclusions.

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.