Skip to main content
Glama

link_sage_customer

DestructiveIdempotent

Link a CRM account to a Sage customer, so the financial status can be fetched by account instead of by number. Stored in external_links (system = the Sage version), which is the same place the Odoo and tender links live — one reference model, not a new table.

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": {
      "version": "<version>",
      "account_id": "<account_id>",
      "customer_number": "<customer_number>"
    },
    "name": "link_sage_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoWhat to show — usually the customer name.
versionYesSage connector the customer belongs to
account_idYesID of the account (company)
customer_numberYesCustomer number in Sage (Sage 100: kto; Cloud: reference or id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / account_id / description
      Added value: +"ID of the account (company)"
    • addedInput schema / properties / customer_number / description
      Added value: +"Customer number in Sage (Sage 100: kto; Cloud: reference or id)"
    • addedInput schema / properties / version / description
      Added value: +"Sage connector the customer belongs to"
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, but the description does not explain the destructive implications. It mentions storage in external_links and reuse of an existing reference model, but it does not say whether an existing link is overwritten, how conflicts are handled, 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?

The description is two sentences and front-loads the core action before explaining storage. The final architectural rationale, 'one reference model, not a new table,' is somewhat internal but still relevant context. It is efficient overall, with little wasted wording.

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?

This is a linking mutation with no output schema, four parameters, and full schema coverage, so the description does not need to explain return values. However, for a tool annotated destructiveHint=true, it should say more about overwrite behavior, conflict handling, or reversal. The description is adequate but leaves meaningful behavioral 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 all four parameters are already documented in the schema. The description adds context that the Sage version maps to the external_links system field, but it does not add format details or constraints beyond what the schema provides. The baseline for full schema coverage is therefore appropriate.

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 states a specific verb and resource: link a CRM account to a Sage customer. It also explains the business purpose, enabling financial status lookup by account rather than by number, which helps distinguish it from a pure status-fetch tool. It does not explicitly name sibling alternatives, so it falls 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?

The description gives an implied use case: use this so financial status can be fetched by account instead of by number. However, it does not explicitly say when to choose this over tools such as get_sage_finance_status, link_external_record, or list_sage_customers, nor does it state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.