Skip to main content
Glama

Stop or discard the timer

goalslot_stop_timer

Stop a running timer, converting it into a time entry credited to the linked goal. Discard the session to cancel a mistakenly started timer.

Instructions

WRITES. Stops the running timer and converts it into a time entry, or discards it. Stopping is atomic and credits the linked goal, so the goal's logged hours go up by the elapsed minutes. Duration is floored at 1 minute and capped at 12 hours: a session left open overnight writes 12 hours, not the real elapsed time, and the response says so via "capped". discard true writes nothing at all and the elapsed time is lost. Only use it when the user says the timer was started by mistake. Attribution fields sent here override whatever the timer was started with.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoNotes to save on the resulting time entry.
goalIdNoOverrides or sets the goal the time is credited to.
taskIdNoTask id from list_tasks. Never construct or guess an id.
discardNoThrow the session away without writing any time entry. Only when the user says the timer was a mistake.
taskNameNoOverrides the label the timer was started with.
scheduleBlockIdNoSchedule block id from get_schedule. Never construct or guess an id.
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses atomicity, goal crediting, the 1-minute floor and 12-hour cap with a 'capped' response marker, and that discard writes nothing and loses elapsed time. This is rich behavioral detail that the annotations do not provide.

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?

The description is front-loaded with 'WRITES.' and the main action, then proceeds to edge cases in a logical order. While fairly dense, every sentence contributes essential behavioral or usage detail; there is no filler. It could be slightly tightened but remains efficient.

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 6-parameter tool with no output schema, the description covers the core behavior, edge cases, and usage guardrails. It does not mention what happens if no timer is running, which is a minor gap, but the critical operating details (floor, cap, discard semantics) are fully disclosed.

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%, so baseline is 3. The description adds significant meaning by stating that 'Attribution fields sent here override whatever the timer was started with,' clarifying the role of goalId, taskId, taskName, and scheduleBlockId. It also explains the discard parameter's effect beyond its schema description.

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 description states the exact action: 'Stops the running timer and converts it into a time entry, or discards it.' It clearly identifies the resource (timer) and the two possible outcomes, and it distinguishes itself from sibling start_timer by being its inverse.

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?

The description gives clear context: use when a timer is running. It explicitly scopes the discard option with 'Only use it when the user says the timer was started by mistake.' It does not name alternatives like goalslot_log_time for manual entry, but the trigger condition is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZeeshanAdilButt/goalslot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server