Skip to main content
Glama

Samuelz® Sales

Vorhandene Kundenaufträge zur Zuordnung lesen

get_sales_outcome_sources
Read-onlyIdempotent

List bounded existing service orders and reservations for the exact established customer of one learning opportunity. Requires crm:read and operations:read, and current owner authority. No name/email matching, no customer creation, no amounts. Copy source kind/id/revision, bindingRevision and learningRevision into link_sales_outcome. Missing customer links stay explicit. Read only; 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>"
    },
    "name": "get_sales_outcome_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
opportunityIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real context on top: required scopes, owner authority, that results are bounded, that missing customer links remain explicit rather than being fabricated, and that no tenant selector applies. The only gap is that "bounded" never says how many records come back or how to page.

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?

Purpose is front-loaded in the first sentence and the remaining sentences pack scope limits, permissions, and the follow-up action without filler. The telegraphic style ("no tenant selector," "bounded") is efficient but occasionally under-explained.

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 one-parameter read tool with full annotations and no output schema, the definition covers auth, scope, exclusions, and the downstream field mapping the agent needs, which largely substitutes for an output description. Missing are result cardinality/pagination and any statement of what an empty result means beyond "missing customer links stay explicit."

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 coverage is 0%, so the single opportunityId parameter relies on the description, which conveys that it identifies one learning opportunity and that the customer is derived from it rather than passed in. It does not mention the ID pattern or format constraints present in the schema, so the compensation is partial rather than complete.

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?

"List bounded existing service orders and reservations for the exact established customer of one learning opportunity" gives a concrete verb, resource, and scope, and the "no amounts" exclusion implicitly separates it from the cost-sources sibling. It stops short of naming an alternative tool outright, so the differentiation from get_sales_cost_sources is inferred rather than stated.

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

Usage Guidelines4/5

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

The description tells the agent the prerequisite authority (crm:read, operations:read, current owner authority) and the intended next step (copy kind/id/revision, bindingRevision and learningRevision into link_sales_outcome), which effectively frames when this tool is the right call. It does not state an explicit alternative for the cost side or say when not to call it beyond "no name/email matching."

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