Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_get_job_allocation_summary

Retrieve work order totals grouped by trade for a job, with optional status and cancelled-order filters, to review allocated amounts per trade category.

Instructions

Get work order totals grouped by trade for a job. Returns breakdown of allocated amounts per trade category.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "prime_get_job_allocation_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job ID to get allocation summary for
status_filterNoFilter by work order statuses (e.g., ["Locked", "Draft"])
include_cancelledNoInclude cancelled work orders (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 'Get' and 'Returns breakdown' imply a read-only aggregation, and the description discloses the shape of the result at a high level, which is genuine behavioral context. It omits permissions/auth needs, whether cancelled work orders are excluded by default (the schema covers that), and how amounts are aggregated or formatted.

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 short sentences with the purpose front-loaded and no filler. The second sentence partially restates the first ('totals grouped by trade' vs. 'breakdown of allocated amounts per trade category'), which is mild redundancy but also clarifies the unit of grouping.

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

Completeness3/5

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

For a simple three-parameter read tool with full schema coverage, the description covers purpose and the general shape of the response. With no output schema, it should say more about the returned structure (e.g., per-trade totals vs. line items) to be fully complete, and it gives no guidance about filter interaction or empty results.

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 all three parameters (job_id, status_filter, include_cancelled) are already documented in structured form. The description adds no extra parameter meaning beyond the schema, so the baseline of 3 is appropriate.

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 states a specific verb and resource: 'Get work order totals grouped by trade for a job.' It also characterizes the return ('breakdown of allocated amounts per trade category'), so an agent knows this is an aggregation tool rather than a raw listing. It does not explicitly distinguish itself from near siblings such as prime_get_job_financial_summary or prime_get_job_trade_comparison, which keeps it from a 5.

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?

There is no explicit when-to-use, when-not-to-use, or alternative routing guidance. At best the phrase 'for a job' implies it applies to a single job, but the agent must infer that this is the right tool when it wants trade-level totals instead of the financial or trade-comparison siblings.

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

Deploy Server

Other Tools