Skip to main content
Glama

get_goals

Read-only

The account's goals with a given status (active, future or past), every page fetched. Sends the Sec-Fetch-Site: same-origin header Garmin needs to return newer goal types. Defaults status="active", **start=1**, limit=30. start defaults to 1, NOT 0, because goal-service is 1-INDEXED and start=0 silently returns []; throws GarminError before any request for an invalid status. Paginated, multi-call: starting at start, fetches successive pages of limit entries (incrementing start by limit each call) until a page comes back empty/falsy, same fixed-page-size pattern as `ge…

Input Schema

NameRequiredDescriptionDefault
limitNo
startNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context beyond the readOnly/openWorld annotations: it discloses the Sec-Fetch-Site: same-origin header requirement, the paginated multi-call contract (increment start by limit until an empty page), the 1-indexed start quirk, and that GarminError is thrown before any request for an invalid status. This is exactly the kind of non-obvious behavior an agent needs.

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?

Information-dense and front-loaded, but there is redundancy ('Defaults start=1' restated as 'start defaults to 1, NOT 0...') and the text is truncated mid-sentence ('same fixed-page-size pattern as `ge…'), indicating it is over-length rather than tightly scoped.

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?

No output schema exists, and the description covers retrieval semantics, header handling, pagination, and error behavior thoroughly. The one gap is the truncated trailing comparison, which leaves the pagination explanation incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: it gives defaults for all three parameters (status, start, limit), explains that start is 1-indexed and that start=0 silently yields [], and ties the enum values to the status filter. All parameters gain meaning beyond the bare 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 resource (the account's goals) and a specific filter dimension (status: active/future/past), plus the scope 'every page fetched'. An agent immediately understands what it retrieves. It does not need to differentiate from a sibling since no other goals tool exists, so 4 rather than 5.

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?

Explains the defaults (status='active', start=1, limit=30) and how the multi-call pagination loop should be driven, which is actionable guidance. It provides no explicit when-not-to-use, but with no competing sibling there is little to exclude.

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.