Skip to main content
Glama

Get ticket work hours

get_ticket_work_hours
Read-onlyIdempotent

Retrieve billable and non-billable work hours for an Atera ticket, with optional individual time entries. Use it to review ticket time totals and entry details by ticket ID.

Instructions

Time spent on a ticket: billable / non-billable totals, plus the individual time entries when entries=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1 (default 1)
entriesNoAlso list each time entry (default false)
ticketIdYesTicket ID
itemsInPageNoItems per page (default 20, max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds value the annotations cannot: it discloses the shape of the payload (aggregate totals broken into billable/non-billable, with per-entry detail conditional on a flag) — useful given there is no output schema.

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?

A single sentence with the primary payload front-loaded and the conditional detail trailing. Every clause earns its place; nothing is padded.

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-value burden and does so adequately by naming the aggregates and the entry list. Pagination behavior is left entirely to the schema, which is acceptable but slightly incomplete for a paginated tool.

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%, so the schema already documents page, itemsInPage, ticketId and entries. The description's mention of 'entries=true' restates the schema's 'Also list each time entry' rather than adding format or defaulting nuance, so the baseline of 3 applies.

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?

Names a specific resource and the exact data returned (billable/non-billable totals plus individual entries), which is more than a restatement of the title. It does not, however, contrast itself with the sibling get_ticket, so an agent must infer the split between the two.

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 entries=true clause hints at when to use the detailed mode, but there is no statement of when to prefer this tool over get_ticket or list_tickets, nor any prerequisite or exclusion.

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