Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_allocation

Updates an existing allocation by ID using the current version for optimistic locking, allowing changes to label, limit, status, contacts, and attendance details.

Instructions

Update an allocation. Requires allocation_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": {
      "allocation_id": "<allocation_id>",
      "version": "<version>"
    },
    "name": "prime_update_allocation"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
limitNoCurrency amount (must be >= 0)
versionYesCurrent version for optimistic locking
completedNo
assigned_idNo
descriptionNo
allocation_idYesThe allocation ID to update
site_attendedNo
assigned_contact_idNo
allocation_status_idNo
first_customer_contact_atNo

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 are supplied, so the description carries the full burden, yet it discloses almost nothing about mutation behavior: no statement on whether unspecified fields are left untouched, what happens on a version conflict, whether permissions or allocation state gate the update, or whether the operation is reversible. The optimistic-locking detail is useful but merely echoes the schema's own description of the version property.

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 the core action and precondition front-loaded; nothing is padded or redundant. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

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 an 11-parameter mutation tool with no annotations, no output schema, and low schema description coverage, this definition is far too thin. An agent learns it updates an allocation and needs a version, but not which fields it may safely set, how partial updates behave, or how failures surface.

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 description coverage is only 27% across 11 parameters, so the description needed to compensate and does not. It repeats the two parameters already documented in the schema (allocation_id, version) and says nothing about the nine undocumented ones such as limit, label, description, site_attended, completed, assigned_id, assigned_contact_id, allocation_status_id, and first_customer_contact_at.

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?

"Update an allocation" names a specific verb and resource, which is enough to separate it from prime_create_allocation and prime_get_allocation by name alone. It stops short of explicitly differentiating the update case from sibling update tools or describing scope (which fields, partial vs. full).

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?

The description gives no when-to-use guidance, no prerequisites or permission notes, and no mention of alternatives such as prime_create_allocation or prime_get_allocation. The only conditional information (allocation_id and version required) is a restatement of the schema's required list rather than usage guidance.

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