Skip to main content
Glama

WakaTime MCP by usefulapi

Get goal

wakatime_get_goal
Read-only

One goal by id with its chart data (cached; an empty chart means the cache is still building, retry shortly). GET /users/current/goals/{goal}.

Input Schema

NameRequiredDescriptionDefault
goal_idYesGoal id (from wakatime_list_goals).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive, so the burden is lower. The description adds genuinely useful behavior beyond them: results are cached, and an empty chart signals the cache is still building with a retry suggested. It stops short of noting auth scope or failure modes.

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?

Two tight sentences with zero filler; the resource, its scope, and the cache caveat are all front-loaded before the raw endpoint reference.

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?

With no output schema, the description carries the return shape burden and does describe the chart data plus a key edge case (empty chart). It is nearly complete for a single-resource getter, though it omits any note on what a goal object contains or error handling.

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 coverage is 100%, and the goal_id description already tells the agent the id comes from wakatime_list_goals. The description adds no further syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource: retrieves "One goal by id with its chart data." The "by id" scope cleanly distinguishes it from the sibling wakatime_list_goals, and the included raw path (GET /users/current/goals/{goal}) pins down the exact operation.

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?

Usage is only implied: the tool takes a single goal_id, so the agent infers it is for fetching one known goal rather than listing. It never explicitly says when to prefer this over wakatime_list_goals or what precondition (having a valid id) is required.

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.