Skip to main content
Glama

Save a client learning

client_learning_add

Save something learned about a client so every future analysis uses it. Saved right away (the team can review it later); tell the user in one line what you saved. kind: fact = established from account data (give the period and the numbers in evidence); result = the outcome of a decision that was carried out and checked (period and evidence required); hypothesis = a marketing assumption not proven by data (saved as unproven); insight = a conclusion with a confidence. Never save business facts or strategy here (set about="business_info" or "strategy" and you'll be sent to client_profile_update, which needs the user's yes). Don't save numbers anyone can re-read from the platform; save what they mean. One learning per call.

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": {
      "folder": "<folder>",
      "kind": "<kind>",
      "topic": "<topic>",
      "statement": "<statement>"
    },
    "name": "client_learning_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
aboutNobusiness_info or strategy = not a learning; use client_profile_update.
topicYes
folderYesClient folder name.
accountNoAd account name or ID, when the learning is about one account.
evidenceNoThe numbers behind it, e.g. 'CPA 42→31 SAR, 120 vs 95 conversions, 1–14 Oct vs 15–28 Oct'.
statementYesOne clear sentence, max 500 characters.
confidenceNoRequired for insight. Hypotheses can't be high.
period_endNoYYYY-MM-DD.
period_startNoYYYY-MM-DD the learning is about.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, destructiveHint=false), and the description adds what they cannot: the write is effective immediately, the team reviews it later, and the agent should confirm to the user in one line. It does not say whether a saved learning can be edited or removed, so a full 5 is not warranted.

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?

Both the purpose and the immediate consequence are front-loaded, and the remaining clauses are packed with non-redundant rules rather than filler. Dense but every sentence carries a distinct constraint.

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?

Strong for a 10-parameter mutation with no output schema: it explains the effect of the call, the required evidence per kind, and the routing to the sibling tool. It leaves open edge behavior such as an unknown folder name or duplicate learnings, which keeps it short of 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 80%, so the baseline is 3; the description clearly exceeds that by defining the semantics of each kind value, including that hypotheses are stored as unproven and that results require a completed, checked decision. Topic, folder, and account get no narrative treatment, leaving those to their schema descriptions.

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 ('Save something learned about a client') plus the downstream payoff ('so every future analysis uses it'). It also distinguishes itself from client_profile_update by naming exactly which content belongs there instead.

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?

Gives explicit when-to-use rules via the four kind definitions ('fact = established from account data... hypothesis = ... saved as unproven'), states an exclusion ('Never save business facts or strategy here') with the alternative and its approval requirement, and adds a scoping rule ('Don't save numbers anyone can re-read from the platform') plus 'One learning per call.'

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