Skip to main content
Glama

link_korona_sale

DestructiveIdempotent

Associate a KORONA receipt/sale with a CallPilotAI lead or contact. This writes only a reversible local external link; it never changes KORONA.

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": {
      "receipt_id": "<receipt_id>",
      "entity": "<entity>",
      "entity_id": "<entity_id>"
    },
    "name": "link_korona_sale"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesWhether entity_id is a lead or a contact
entity_idYesID of the record
receipt_idYesID of the receipt
receipt_numberNoKORONA receipt number (for reference)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / entity / description
      Added value: +"Whether entity_id is a lead or a contact"
    • addedInput schema / properties / entity_id / description
      Added value: +"ID of the record"
    • addedInput schema / properties / receipt_id / description
      Added value: +"ID of the receipt"
    • addedInput schema / properties / receipt_number / description
      Added value: +"KORONA receipt number (for reference)"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is mostly structured. The description adds genuinely useful scoping context — the write is local and never mutates KORONA — but it does not address the destructiveHint flag: what happens to an existing link if the receipt is already associated, and whether re-linking overwrites it. That is exactly the behavior an agent needs before calling a tool flagged destructive.

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?

Two short sentences with zero padding: the action first, then the safety scoping. Nothing is repeated from the title or schema, and the most decision-relevant constraint follows immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple four-parameter link tool with full schema coverage and no output schema, the definition covers what it does and its blast radius well enough to call correctly. The remaining gap is the overwrite/re-link behavior implied by destructiveHint=true, which the description leaves unexplained.

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 100% schema description coverage across all four parameters, including an enum-constrained 'entity' field, the schema carries the parameter burden. The description reinforces the lead/contact choice but adds no format, constraint, or edge-case detail beyond the schema (for example, whether receipt_number is optional metadata that can substitute for receipt_id). Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Associate a KORONA receipt/sale with a CallPilotAI lead or contact'), naming both ends of the relationship and the exact domain objects involved. An agent can distinguish this from sibling links such as link_channel or link_external_record because the description pins the resource pair (KORONA sale ↔ lead/contact) rather than describing a generic link operation.

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: use it when a KORONA receipt needs to be attached to a lead or contact. However, it gives no explicit when-not conditions, no prerequisites (does the lead need to exist first?), and no statement about whether re-linking an already-linked receipt is the intended way to change associations. There is clear implied context but no routing guidance to alternatives.

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.