Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_list_allocations

Lists work allocations and filters them by job, assigned contact, status, allocation type, or completion dates to help you find and review relevant jobs.

Instructions

List work allocations. Filter by job, assigned contact, status, or type. Types include Make Safe, Quote, Restoration, etc.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starting from 1)
job_idNoFilter by job ID
includesNoRelated resources to include: job, assignedContact, assigned, allocationStatus
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
order_dirNoSort directionDESC
assigned_idNoFilter by assigned user ID
allocation_typeNoFilter by allocation type
completed_afterNoFilter by completion date after
completed_beforeNoFilter by completion date before
assigned_contact_idNoFilter by assigned contact ID
allocation_status_idNoFilter by allocation status ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden of behavioral disclosure and it discloses almost nothing. It does not state that results are paginated (the schema reveals page/per_page defaults of 15, max 100), what a returned allocation contains, or any permission requirements. Listing the example types is content, not behavior.

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?

Three short sentences, front-loaded with the core purpose and free of filler. The trailing "etc." is slightly sloppy given the schema has a closed enum, but the overall structure is efficient.

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 12-parameter list tool with no annotations and no output schema, the description is minimally adequate: purpose and filter axes are covered by text plus a fully documented schema. It omits pagination expectations and any indication of what an allocation record looks like, which an agent must infer.

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 baseline is 3. The description echoes the filter dimensions (job, contact, status, type) already documented in the schema and repeats type values that the allocation_type enum already enumerates in full, adding no format, interaction, or defaulting semantics.

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 opens with a specific verb+resource: "List work allocations." That clearly separates it from the singular sibling prime_get_allocation by implication of "List". It does not explicitly name any sibling or state scope limits, so it stops short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Filter by job, assigned contact, status, or type" implies when the tool is useful (retrieving allocations narrowed by those dimensions) but gives no explicit when-to-use vs. when-not guidance. Nothing tells the agent to prefer prime_get_allocation for a single record or to avoid this tool for large unfiltered sweeps.

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