Skip to main content
Glama

apply improvement

apply_improvement

Add the exact information supplied by the user for this recommendation and queue training. Show the exact question and answer to the user and obtain explicit confirmation first. Never invent facts.

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": {
      "chatbot_id": "<chatbot_id>",
      "improvement_id": "<improvement_id>",
      "answer": "<answer>",
      "confirmed": "<confirmed>"
    },
    "name": "apply_improvement"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYes
confirmedYes
chatbot_idYesSelected chatbot ID or demo token.
improvement_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description usefully adds that training is queued as a side effect and that facts must never be fabricated, but it does not say what is created, whether repeat calls duplicate knowledge, or how training completion is signalled.

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?

Three short sentences with the action front-loaded, followed by the confirmation precondition and the no-invention constraint. No redundant restatement of the name or title.

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

Completeness3/5

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

An output schema exists so return values need not be explained, but for a 4-required-parameter mutation at 25% schema coverage the description leaves improvement_id unexplained and does not describe failure modes or the effect of an unconfirmed call.

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 only 25% (only chatbot_id is documented), so the description must compensate. It partially does: 'the exact information supplied by the user' constrains answer to verbatim user input, and 'obtain explicit confirmation' explains the confirmed boolean, but improvement_id is left entirely undefined.

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?

The description states a concrete verb and effect: add user-supplied information for a specific recommendation and queue training. That is more specific than the title restated, but it never distinguishes this tool from close siblings such as resolve_improvement or verify_improvement.

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?

It gives a clear procedural precondition: show the exact question and answer to the user and obtain explicit confirmation before calling. However, it offers no guidance on when to use this versus the sibling resolution/verification tools, and no exclusions.

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