Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_create_allocation

Create a new work allocation for a job using required job, status, type, number, and label fields.

Instructions

Create a new work allocation for a job. Requires job_id, allocation_status_id, allocation_type, allocation_number, and label.

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>",
      "allocation_status_id": "<allocation_status_id>",
      "allocation_type": "<allocation_type>",
      "allocation_number": "<allocation_number>",
      "label": "<label>"
    },
    "name": "prime_create_allocation"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesAllocation label/title
limitNoBudget limit for this allocation
job_idYesThe job ID this allocation belongs to
completedNoDate/time allocation was completed
assigned_idNoAssigned internal user ID
descriptionNoAllocation description
site_attendedNoDate/time site was attended
allocation_typeYesType of allocation
allocation_numberYesAllocation number/reference
assigned_contact_idNoAssigned contractor/supplier contact ID
allocation_status_idYesInitial allocation status ID
first_customer_contact_atNoDate/time of first customer contact

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 burden for a mutating tool, yet it says nothing about side effects, permission/auth requirements, whether the new allocation is returned, or what happens on validation failure. The second sentence merely echoes schema-required fields rather than adding behavioral information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and efficient. The second sentence is pure redundancy with the schema's required array, so it does not earn its place, though the overall length remains short and readable.

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 creation tool with no annotations and no output schema, the definition is thin: it omits return behavior, uniqueness/validation rules, and any mention of the seven optional fields. It is minimally adequate for an agent that reads the schema carefully but leaves meaningful gaps.

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 parameter already has documentation, and the description adds no meaning beyond listing the five required names. Baseline 3 applies since the schema does the heavy lifting; no enum values, UUID formats, or optional fields (limit, assigned_contact_id, dates) are explained.

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 resource ('Create a new work allocation') plus the parent entity ('for a job'), which is enough to distinguish it from read tools like prime_get_allocation or prime_list_allocations. It does not differentiate it from the sibling mutation prime_update_allocation or explain when to create versus update, which keeps it below 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 guidance on when to use this tool versus alternatives such as prime_update_allocation, nor any preconditions (e.g., that the job and status must already exist, or that allocation_number may need to be unique). The only 'requirement' statement is a restatement of the schema's required list, not usage context.

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