Skip to main content
Glama

smallinvoice MCP by usefulapi

List working hours

smallinvoice_list_working_hours
Read-only

List recorded working hours (time tracking entries). Needs the "working_hours" scope. GET /reporting/working-hours. Returns count, total, next_offset (pass it as offset for the next page) and the items.

Input Schema

NameRequiredDescriptionDefault
qNoOptional free-text search over several fields.
sortNoOptional sort: 'name' ascending, '-name' descending, '-surname,name' for several.
withNoOptional extra fields to include, comma separated (e.g. 'main_address' on contacts).
limitNoItems per page (default 100, max 200).
filterNoOptional filter as a JSON object string, e.g. {"currency":"CHF"}; combine with {"and":[...]} / {"or":[...]}. Comparators go before the value: "<", "<=", ">", ">=", "!" (not), "~" (contains), e.g. {"name":"~ACME"}. Unknown field names are answered with HTTP 400.
offsetNoItems to skip (paging: the previous reply's next_offset).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description still adds real value by disclosing the required 'working_hours' scope and the shape of the response, including the next_offset continuation token that must be fed back as offset.

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?

Three compact sentences front-load purpose, then scope, then return shape. Nothing is redundant and the pagination hint is placed exactly where an agent needs it.

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 correctly compensates by naming the returned fields (count, total, next_offset, items) and the paging convention. It stops short of covering what the items contain or how to filter working hours specifically, but the essential calling information is present.

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%, so every parameter (q, sort, with, limit, filter, offset) is already documented in the schema with examples. The description only restates the offset/next_offset paging linkage, adding no new parameter semantics beyond what the schema provides.

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 verb and resource ('List recorded working hours') and clarifies the domain with '(time tracking entries)', which disambiguates it from generic list tools. It does not, however, distinguish itself from sibling list tools like smallinvoice_list_efforts or smallinvoice_list_activities, so it falls short of the top score.

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

Usage Guidelines2/5

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

The description names the endpoint and scope but gives no guidance on when to choose this tool over smallinvoice_list_efforts or smallinvoice_list_activities. There are no exclusions, prerequisites, or usage conditions beyond the implicit 'use this to list working hours'.

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.