Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_search_jobs

Search and filter jobs by status, division, customer, client, dates, and related IDs with pagination; returns job lists with status, division, and customer info.

Instructions

Search and filter jobs with pagination. Returns job list with status, division, customer info.

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": "prime_search_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starting from 1)
queryNoSearch term for job number, client reference, or description
includesNoRelated resources to include: status, division, assigned, customer, client, peril, jobType, workflow
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
peril_idNoFilter by peril type ID
client_idNoFilter by client (insurer) ID
order_dirNoSort directionDESC
status_idNoFilter by job status ID
assigned_idNoFilter by assigned user ID
customer_idNoFilter by customer ID
division_idNoFilter by division ID
job_type_idNoFilter by job type ID
workflow_idNoFilter by workflow ID
created_afterNoFilter jobs created after this date (ISO 8601)
updated_afterNoFilter jobs updated after this date (ISO 8601)
created_beforeNoFilter jobs created before this date (ISO 8601)
incident_afterNoFilter by incident date after (YYYY-MM-DD)
incident_beforeNoFilter by incident date before (YYYY-MM-DD)
catastrophe_code_idNoFilter by catastrophe code ID

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?

With no annotations, the description carries the full burden, and it does disclose two things beyond the schema: results are paginated, and each item carries status, division and customer info. It does not explain that such related data may require the 'includes' field, nor does it cover defaults (page 1, 15 per page, DESC ordering), auth needs, or result-size limits.

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, and the operation is stated first followed by the return shape. It is efficient, though the second sentence is arguably thin enough that it does little beyond restating that a list comes back.

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 tool with 20 optional filters, no annotations and no output schema, the description covers the operation and return shape at a minimum-viable level. It omits the relationship between 'includes' and the advertised status/division/customer fields and says nothing about pagination totals or limits, which an agent would need for correct invocation.

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 every one of the 20 parameters is already documented in the schema, including ranges, defaults and formats. The description adds no filter semantics of its own, 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 pair and resource: 'Search and filter jobs with pagination.' That is clear enough to identify the operation, but it does not distinguish this tool from the sibling variants prime_search_jobs_by_address and prime_search_jobs_by_customer, so an agent cannot tell from the description alone which search entry point applies.

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 when-to-use guidance, no exclusions, and no routing to the address- or customer-scoped search siblings. 'Search and filter jobs' only implies usage, and the presence of 20 optional filters with no stated selection criteria leaves the agent to infer everything.

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