Skip to main content
Glama

Samuelz® Sales

Markt- und Kundenlernen lesen

get_sales_learning
Read-onlyIdempotent

Read tenant-bound learning records, original sources or experiment results. Requires crm:read; no tenant selector, send, activation, actual financial source amounts or market/profit verification. Returns the chosen mode with coverage and grantsActionAuthority=false. Check cursors, status and completeness.

Offer planning: recordId for an offer also returns offerEconomics, derived from that exact stored offer revision. An optional economicsPlan contains explicit per-unit planning costs, time/rate, scope/basis and target margin. The net floor is a planning hypothesis, never actual full cost, payroll, profit or a commercial price approval. Gross prices are not converted without a net basis.

Records: kind pages up to 50 records; copy nextCursor as after. recordId returns the current record and history; page history with nextBefore as beforeRevision. review=true alone returns the bounded cross-market snapshot and next step; incomplete snapshots suppress recommendations.

Sources: sourceKind=sales_call or b2b_target returns bounded existing excerpts with exact origins. search_console additionally requires current Marketing read consent and rechecks the native connected property/OAuth epoch; it reads an existing snapshot without running Search Analytics or writing settings. Its counts describe only that snapshot window, not total demand or willingness to pay.

Channel definitions: executionSourceKind=marketing_campaign, partner_program or service_order_api pages up to 20 current sources; copy nextCursor as after. Campaigns require Marketing read; partners and published customer REST/MCP access require Operations read and owner authority. Copy the entire returned reference, including API host/transport when present. Binding a definition never activates it or proves delivery, third-party identity or attribution.

Results: experimentId alone selects the channel from the first started experiment revision, even after later channel edits. channelResults.kind identifies the original Marketing, partner or API view. Requires current Operations/Accounting read consent and owner authority; Marketing sources also require Marketing read. API results count original first server entries for the frozen host/transport, excluding web-form entries and repeated purchases with the same request. Current access availability is separate from historical outcomes. Unknown old transports and second-precision boundary cases are reported separately; incomplete/unavailable sources never mean a complete zero. Counts show today's original acceptance, completion and recorded payment evidence for that entry/inquiry cohort, including later outcomes. No distinct-customer conversion, independent provider verification, complete market coverage or profit; test classification remains unattested.

Compatibility: campaignExperimentId and partnerExperimentId retain their original dedicated result shapes and consent rules. Campaign event counts stay separate from nativeServiceOrders; copy campaignResults.reference only for an explicitly requested internal provenance attachment. Partner/API reads return no write reference.

Pipeline time: effortOpportunityId pages reported completions with activityAfter. Add completionTaskId instead for draft.title/payload with original known minutes and completionSource; occurredAt is the completion-recording timestamp. Explicitly choose activity before saving. Unknown minutes cannot be imported; recorded zero stays zero. No verification of human time or full costs.

Resources: resourceKind=goal or budget pages up to 20 original active definitions; copy nextCursor as resourceAfter. Requires Operations/Accounting read and owner authority. Copy only id/revision into decision.resourceContext; no values, funding or approvals are inferred. Choose one mode only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sales_learning"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoChoose a stored record kind for a bounded page. Combine only with its after cursor, or contactId for interviews; leave other modes unset.
afterNoCopy nextCursor from the preceding record, observation-source or execution-source page with the same mode and kind. Other modes use their own cursors.
reviewNoSet true alone for a bounded cross-market snapshot and next learning step. Incomplete snapshots suppress recommendations; this does not validate a market.
recordIdNoChoose an existing learning record for current state and bounded history; optional beforeRevision pages the same history.
contactIdNoOnly with kind=interview: page through this exact existing CRM contact's conversation notes. Preserve the same contactId with after.
sourceKindNoChoose bounded existing conversation/research excerpts with exact origins, optionally followed by their after cursor. search_console requires current Marketing read consent and a verified native property snapshot; it rechecks the live property but never runs Search Analytics. Separate from stored records.
experimentIdNoChoose alone for the original started experiment channel's current qualified results. Requires current CRM, Operations and Accounting read consent and owner authority; campaign sources also require Marketing read. Returns the source's original view without amounts or execution authority.
resourceKindNoChoose original active goal or budget definitions, without values or spending authority. Requires current Operations/Accounting read consent and owner authority.
activityAfterNoCopy the completion page's nextCursor with the same effortOpportunityId. Do not combine with completionTaskId.
resourceAfterNoCopy the resource page's nextCursor unchanged with the same resourceKind; not a record cursor.
beforeRevisionNoExclusive history cutoff. Copy history.nextBefore with the same recordId; omit for the first history page.
completionTaskIdNoExact pipeline_task ID returned for that effortOpportunityId. Returns a draft only when original minutes are known; do not combine with activityAfter.
effortOpportunityIdNoExisting learning opportunity whose recorded pipeline completions should be reviewed. Add completionTaskId for one draft or activityAfter for the next page.
executionSourceKindNoChoose current campaign definitions, owner-granted partner programmes or published customer REST/MCP access, optionally with after. Requires Marketing read for campaigns or Operations read for partners/API; copy complete returned references. No activation or delivery proof.
partnerExperimentIdNoChoose alone for today's recorded partner outcomes of the original started experiment's inquiry cohort. Requires current CRM, Operations and Accounting read consent and owner authority. Returns counts without amounts or a write reference; no verified customer conversion, provider payment or profit.
campaignExperimentIdNoChoose alone to review recorded campaign event counts for one active, started experiment. Requires current Marketing, Operations and Accounting read consent and owner authority; returns a reference for an explicitly requested internal attachment, never amounts or market validation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / executionSourceKind / description
      Previous value: -"Choose existing campaign definitions or owner-granted partner programmes, optionally with after. Requires Marketing or Operations read consent respectively; not execution/delivery proof."New value: +"Choose current campaign definitions, owner-granted partner programmes or published customer REST/MCP access, optionally with after. Requires Marketing read for campaigns or Operations read for partners/API; copy complete returned references. No activation or delivery proof."
    • changedInput schema / properties / executionSourceKind / enum
      Previous value: -[
      -  "marketing_campaign",
      -  "partner_program"
      -]New value: +[
      +  "marketing_campaign",
      +  "partner_program",
      +  "service_order_api"
      +]
    • addedInput schema / properties / experimentId
      Added value: +{
      +  "description": "Choose alone for the original started experiment channel's current qualified results. Requires current CRM, Operations and Accounting read consent and owner authority; campaign sources also require Marketing read. Returns the source's original view without amounts or execution authority.",
      +  "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / sourceKind / description
      Previous value: -"Choose bounded existing conversation/research excerpts with exact origins, optionally followed by their after cursor. This is separate from stored records."New value: +"Choose bounded existing conversation/research excerpts with exact origins, optionally followed by their after cursor. search_console requires current Marketing read consent and a verified native property snapshot; it rechecks the live property but never runs Search Analytics. Separate from stored records."
    • changedInput schema / properties / sourceKind / enum
      Previous value: -[
      -  "sales_call",
      -  "b2b_target"
      -]New value: +[
      +  "sales_call",
      +  "b2b_target",
      +  "search_console"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Far exceeds what the readOnly/idempotent/openWorld annotations convey: it discloses required scopes (crm:read, Marketing/Operations/Accounting read), that no tenant selector exists, that grantsActionAuthority=false, that incomplete snapshots suppress recommendations, and that "incomplete/unavailable sources never mean a complete zero." It also flags edge cases explicitly (unknown old transports, second-precision boundary cases, test classification unattested).

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

Conciseness3/5

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

Well organized with a front-loaded summary sentence and labeled sections (Offer planning, Records, Sources, Results, Compatibility, Pipeline time, Resources), which matters for a 16-parameter multi-mode tool. However it runs to several hundred words with heavy repetition of permission and consent rules that also appear in the schema, and sentences like the results paragraph pack multiple constraints into dense runs that are hard to parse.

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?

No output schema exists, so the description must carry return semantics, and it does: it states the mode is returned with coverage, defines counts as snapshot-window-only, explains that current access availability is separate from historical outcomes, and clarifies that offerEconomics derives from the exact stored revision. For a 16-parameter, zero-required, multi-mode read tool this is materially complete.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the prose nonetheless adds cross-parameter meaning the schema cannot: experimentId "selects the channel from the first started experiment revision, even after later channel edits," occurredAt is the completion-recording timestamp, and recorded zero stays zero. Some permission text duplicates the enum descriptions, preventing a top score.

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?

Opens with a specific verb+resource ("Read tenant-bound learning records, original sources or experiment results") and then enumerates the distinct modes (records, sources, channel definitions, results, pipeline time, resources). An agent can tell it apart from the write-side sibling and from narrower collectors, though the breadth of modes means the 'purpose' is a family of reads rather than one crisp operation.

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?

Gives strong internal routing rules: "Choose one mode only," cursor pairing instructions ("copy nextCursor as after"), and mode-specific authority conditions (Marketing read for campaigns, Operations/Accounting for partners and resources). It does not name sibling tools as alternatives, so an agent still has to infer when to prefer a narrower getter over this catch-all.

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