Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_get_job_trade_comparison

Compare work order amounts against authorized estimate amounts by trade to show variance between estimated and allocated costs for a job.

Instructions

Compare work order amounts vs authorized estimate amounts by trade. Shows variance between what was estimated and what was allocated.

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_trade_comparison"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job ID to compare
wo_statusesNoWork order statuses to include (default: Locked, Draft)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it never states that the operation is read-only, whether it aggregates or returns per-trade rows, whether zero-activity trades are included, or anything about volume/permissions. It does convey the core comparison semantics (estimated vs allocated variance), which is the one genuine behavioral fact present.

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, front-loaded with the core comparison, with no filler or hedging. The second sentence largely restates the first in other words ('variance between what was estimated and what was allocated'), so it earns only partial credit.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only source of truth about results, and it never indicates the shape of the response (per-trade rows? amounts? percentages?) or which side of the variance is which sign. For a comparison tool whose whole value is in its output, that is a meaningful gap.

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 job_id (UUID, which job to compare) and wo_statuses (default Locked, Draft). The description adds nothing about how wo_statuses changes the comparison scope or why the default pair is chosen, so it sits at the baseline for a fully documented 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?

Names a specific verb and comparison (work order amounts vs authorized estimate amounts) and adds a grouping dimension ('by trade'), which is more than a restatement of the name. It does not, however, distinguish itself from nearby financial siblings such as prime_get_job_financial_summary or prime_get_job_allocation_summary, so an agent must guess which of these overlapping summaries to pick.

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 or when-not-to-use guidance, no mention of prerequisites, and no named alternative. The only usage signal is the implied 'use this when you want a trade-level variance view,' which the agent has to infer from the purpose sentence.

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