Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_contact

Update an existing contact by ID and version for optimistic locking to prevent conflicting edits. Change names, emails, phone numbers, addresses, notes, and active status.

Instructions

Update contact information. Requires contact_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": {
      "contact_id": "<contact_id>",
      "version": "<version>"
    },
    "name": "prime_update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
abnNo
acnNo
nameNo
emailNo
notesNo
titleNo
addressNo
versionYesCurrent version for optimistic locking
is_activeNo
last_nameNo
contact_idYesThe contact ID to update
fax_numberNo
first_nameNo
home_numberNo
work_numberNo
trading_nameNo
mobile_numberNoPhone number
contact_type_idNo

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 behavioral burden. It notes that version is needed for optimistic locking, but that same phrase already appears in the schema, and the description never explains what happens on a version mismatch, whether the update is partial or a full replacement of unset fields, or what permissions are required.

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 locking requirement front-loaded and no wasted wording. The brevity is clean structurally, even though the content itself is thin.

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 18-parameter mutation tool with a nested address object, no annotations, no output schema, and very low schema coverage, the definition is far too sparse. An agent cannot tell whether omitted fields are cleared, what a rejected version looks like, or what a successful response returns.

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 17% across 18 parameters, so the description must compensate and does not. It mentions only contact_id and version, both of which the schema already documents, leaving fields like contact_type_id, is_active, abn/acn, and the nested address object without added meaning.

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 contact information." That distinguishes it from prime_create_contact and prime_get_contact by operation, though the description never names or contrasts those siblings explicitly.

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?

Usage is implied by the verb 'update' and the name prefix 'prime_', and the required contact_id/version hint at targeting an existing record. There is no statement of when to prefer this over prime_create_contact or how to recover from a version conflict, so an agent must infer 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