Skip to main content
Glama

Samuelz® Sales

Vorhandenen Kundenauftrag zuordnen

link_sales_outcome
Idempotent

Only for an explicitly requested attribution: link one existing customer-matched source returned by get_sales_outcome_sources to a learning opportunity, or unlink with source=null and a reason. Read current bindingRevision through get_sales_outcome_sources first; copy expectedLearningRevision and source revision unchanged. Reuse requestKey/exact fields on retry. Records only this relationship and history; no order, price, contract, payment or delivery mutation. Requires current crm:read/write, operations:read and owner authority. No tenant selector.

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": {
      "opportunityId": "<opportunityId>",
      "expectedLearningRevision": "<expectedLearningRevision>",
      "expectedBindingRevision": "<expectedBindingRevision>",
      "source": "<source>",
      "reason": "<reason>",
      "requestKey": "<requestKey>"
    },
    "name": "link_sales_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
sourceYes
requestKeyYes
opportunityIdYes
expectedBindingRevisionYes
expectedLearningRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the mutation's exact scope: it records only the relationship and history, with no order, price, contract, payment, or delivery mutation. It also states required permissions and owner authority, notes that no tenant selector is used, and explains retry behavior with requestKey.

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 dense but front-loaded with the core operation and scope, and every sentence carries useful operational or safety information. Some phrasing is packed, especially around revision fields, but there is no meaningful filler.

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

Completeness5/5

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

For a six-parameter mutation with no output schema, the description covers the critical context an agent needs: pre-read requirements, concurrency revision handling, idempotent retry behavior, auth requirements, tenant scope, and the exact boundary of what is mutated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates strongly: it explains source as a returned source object or null for unlink, says to copy the source revision unchanged, explains how expectedBindingRevision and expectedLearningRevision are obtained, and advises reusing requestKey on retry.

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?

The description states a precise verb and resource: link or unlink one existing customer-matched source to a learning opportunity. It explicitly distinguishes this operation from get_sales_outcome_sources, which is used to retrieve sources and current binding revision.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance: only for an explicitly requested attribution. It also explains prerequisites and procedure: read bindingRevision through get_sales_outcome_sources first, link only a returned source, or unlink using source=null and a reason.

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.

Resources