Skip to main content
Glama

Get labor report by role

homebase_get_labor_by_role
Read-only

Aggregate labor (hours, cost, tips, overtime) for a location in a date range, grouped by role. GET /locations/{location_uuid}/labor/by_role.

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd of the range. ISO 8601: a date (2026-10-01) or a date-time with timezone (2026-10-01T09:00:00-05:00).
start_dateYesStart of the range. ISO 8601: a date (2026-10-01) or a date-time with timezone (2026-10-01T09:00:00-05:00).
location_uuidYesHomebase location uuid (from homebase_list_locations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds that the report aggregates a specific metric set (hours, cost, tips, overtime) grouped by role, which is useful context, but says nothing about auth, pagination, or aggregation edge cases.

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?

Two tight sentences with the metrics and grouping front-loaded ahead of the endpoint reference. The 'for a location in a date range' clause mildly restates required params but costs little.

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 compensates reasonably by enumerating the aggregated metrics and the grouping key. It is complete enough for a read-only aggregate report, with only return-format/pagination details missing.

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 all three required parameters are fully documented in-schema (including ISO 8601 date formats and the location_uuid source). The description only restates 'location' and 'date range', adding no format or syntax detail beyond the 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 verb (aggregate), resource (labor), and distinguishing grouping dimension ('by role'), plus the exact endpoint. An agent can tell it apart from homebase_get_labor and homebase_get_labor_by_employee by the grouping, though it never names those siblings explicitly.

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 implied by 'grouped by role' but there is no explicit when-to-use/when-not guidance or named alternative, so the agent must infer that this is the role-bucketed variant of the labor report.

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.