Skip to main content
Glama
Beankeeper

Beankeeper

Official

counterparty_amend

Amend an active customer or vendor record by updating name, role, email, address, or payment terms; omit fields to keep them, or set/clear contact details and terms explicitly.

Instructions

Amend an active party. Omit fields to keep them. For email, address and terms use clear or a set object.

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": {
      "company": "<company>",
      "id": "<id>",
      "patch": "<patch>"
    },
    "name": "counterparty_amend"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA company-scoped customer or vendor identifier.
patchYes
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The only annotation is readOnlyHint=false, so the mutation nature is already declared; the description adds the meaningful detail that omitted fields are preserved and that nested fields can be cleared or set. It does not say what 'clear' actually removes, whether the operation is reversible, or what happens to fields not present in the patch (the schema's additionalProperties: false helps here).

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

Conciseness5/5

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

Three short sentences, with the action and the patch rule front-loaded before the field-specific exception. Every sentence carries information and nothing repeats the schema verbatim.

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 mutation tool with a nested patch object, no output schema, and only a readOnlyHint annotation, the description covers the patch mechanism adequately but leaves real gaps: the null-based clearing of role, the company-scoped identifier format, and failure behavior for a missing or archived party.

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?

With schema description coverage at 33%, the description partly compensates by explaining the keep/clear/set protocol for email, address and payment_terms. It says nothing about the required company and id parameters, and critically skips role, where the schema uses null rather than 'clear' to unset a value — an asymmetry the agent could easily get wrong.

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 ('Amend an active party'), which is enough to separate it from counterparty_create and counterparty_archive. It stops short of explicitly contrasting itself with those siblings, so the agent still has to infer boundaries.

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?

'Amend an active party' implies the precondition that the party already exists, and 'Omit fields to keep them' clarifies that this is a partial update rather than a replace. There is no explicit guidance on when to amend versus archive/associate, and no mention of whether counterparty_show should be called first to discover current values.

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