Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_job

Update job details by supplying the job ID and current version for optimistic locking, ensuring changes apply safely without overwriting concurrent edits.

Instructions

Update job details. Requires job_id and version for optimistic locking.

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>",
      "version": "<version>"
    },
    "name": "prime_update_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
job_idYesThe job ID to update
addressNo
versionYesCurrent version for optimistic locking
peril_idNo
assigned_idNo
descriptionNo
division_idNo
job_type_idNo
estimator_idNo
excess_amountNoCurrency amount (must be >= 0)
incident_dateNo
supervisor_idNo
case_manager_idNo
client_referenceNo
catastrophe_code_idNo
additional_referenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it discloses only one trait: optimistic locking via version. It says nothing about required permissions, whether this is a partial or full replacement update, what happens to fields omitted from the payload, whether version is auto-incremented, or what a stale-version failure looks like.

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 no filler; the requirement and its rationale are front-loaded. The terseness is efficient, though for a 17-parameter tool it borders on under-specification rather than true conciseness.

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?

For a 17-parameter mutation with a nested object, no annotations, and no output schema, this description is far too thin. The optimistic-locking note is a useful start, but an agent still cannot tell which fields are updatable, how omitted fields are treated, or what failure modes to expect.

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

Parameters2/5

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

Schema coverage is only 18% across 17 parameters, and the description covers just job_id and version, both of which the schema already documents (version even already says 'optimistic locking'). The other 15 fields, including the nested address object and the division_id-referencing ID fields, receive no meaning from the description, so it does not compensate for the coverage gap.

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 ('Update job details'), so an agent knows this mutates an existing job record rather than creating or reading one. It does not differentiate itself from the sibling 'prime_update_job_status', which is a plausible source of mis-selection.

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?

No when-to-use guidance, no exclusions, and no named alternative. The only stated condition ('Requires job_id and version') is a prerequisite already enforced by the schema's required list, not guidance about when this tool is the right choice over 'prime_update_job_status' or 'prime_update_estimate'.

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