Skip to main content
Glama

update_recommendation_outcome

Report whether a retrieved recommendation was followed and worked or failed to close the feedback loop and self-correct the recommendation engine.

Instructions

Close the feedback loop on a previously retrieved recommendation. Once you act upon a recommendation from get_recommendation, you MUST call this to inform the engine if the recommendation actually worked or failed. This self-corrects the algorithm.

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": {
      "recommendation_id": "<recommendation_id>",
      "was_followed": "<was_followed>"
    },
    "name": "update_recommendation_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
was_followedYes
recommendation_idYes
outcome_interaction_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a meaningful side effect — the call feeds the engine and self-corrects the algorithm — which goes beyond a plain write. However, it says nothing about idempotency, whether an existing outcome can be overwritten, or what happens if the tool is called twice for the same recommendation.

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 first, the obligation second, and the rationale last, so it is front-loaded and easy to scan. 'Close the feedback loop' and 'inform the engine if the recommendation actually worked or failed' overlap slightly, but the emphasis is defensible for a mandatory call.

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?

With no annotations and no output schema, the description needs to carry more weight than it does. It covers what the tool is for and when to call it, but leaves one of three parameters undocumented and gives no detail on repeated calls or on how the outcome is recorded against an interaction.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain all three parameters and does not. 'Worked or failed' loosely gestures at was_followed, but the schema field is named was_followed while the prose says 'worked', which is not the same concept. The third parameter, outcome_interaction_id, is never mentioned at all.

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 — closing the feedback loop by reporting whether a previously retrieved recommendation worked or failed — and anchors it to the sibling get_recommendation, which is where the recommendation originates. An agent can distinguish this from log_interaction or get_entity without opening any schema.

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 an explicit trigger condition: once you act upon a recommendation from get_recommendation, you MUST call this. That is a clear when-to-use rule tied to a sibling. It stops short of edge cases, such as what to do when no action was taken or when the call must be repeated for the same recommendation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.