Skip to main content
Glama

Technician commissions

technician_commissions
Read-onlyIdempotent

What a contracting business’s technicians have earned in commission. view: period (default — each technician’s total for a pay period so far, or as finalized; pass period as YYYY-MM for monthly or the start day for weekly pay), statements (finalized statements and whether each was paid; filter status all, unpaid or paid), or plans (each plan’s terms and who is on it). Commission is worked out from the business’s own jobs and invoices before tax — never tips — and a crew job is split equally. Seayora records commission; the business pays it and records that it did. Read only: finalizing a period, recording a payment and changing somebody’s plan are done in Seayora.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "technician_commissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo
periodNoYYYY-MM (monthly pay) or the period’s start day YYYY-MM-DD. Default the period in progress.
statusNo

Output Schema

NameRequiredDescriptionDefault
jobsNo
planNo
plansNo
stateNo
totalNo
periodNo
summaryNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
statementsNo
techniciansNo
reading_thisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description adds real behavioral substance: commission is computed from the business's own jobs and invoices before tax, tips are never included, and crew jobs split equally. It also clarifies the system boundary — Seayora records commission while the business pays it — which an agent could not infer from annotations alone.

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?

It is a single dense paragraph, but it is front-loaded with the view breakdown before moving to computation rules and the read-only boundary, so the most decision-relevant content comes first. Some parenthetical nesting (period/statements/plans in one sentence) makes it slightly harder to scan than a bulleted form would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, three-mode tool with an output schema already covering return shape, the description supplies everything an agent needs: mode semantics, filter values, date formats, default behavior, computation caveats, and where the write operations live. No material gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 33% schema description coverage, the description carries the undocumented parameters itself: it defines the three `view` values and what each returns, defines the `status` filter values (all, unpaid, paid), and explains that `period` accepts YYYY-MM for monthly or a start day for weekly pay. That compensates fully for the schema gaps.

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?

The description names a concrete resource (technician commission earnings) and enumerates exactly what the tool returns in each of its three views (period totals, finalized statements with paid status, and plan terms with enrollees). It never references the sibling technician_scorecards, so an agent cannot tell from the text alone how this differs from that nearby tool, which keeps it out of the top band.

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?

It gives explicit selection guidance for each view, including that `period` is the default and that `statements` is the view for payment status. It also draws a clear when-not boundary: finalizing a period, recording a payment, and changing a plan are done in Seayora, not here. It stops short of stating alternatives within the MCP server.

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.

Resources