Skip to main content
Glama

update_recommendation

Update specific fields on an existing recommendation by ID, including title, author, reason, topic link, or reviewed status. Find the ID first with get_recommendations; only supplied fields change.

Instructions

Update fields on an existing recommendation. Use get_recommendations to find the id first. Only provided fields are changed. The reason follows the same rules as in save_recommendation.

Args: id: The numeric id of the recommendation to update. title: Corrected title. author: Corrected or added author. reason: Updated reason, about the subject matter only. topic_name: Name of a curriculum topic to link this recommendation to. reviewed: Set True only if you were told the reason was too personal and have confirmed the wording is fine as written.

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": {
      "id": "<id>"
    },
    "name": "update_recommendation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
titleNo
authorNo
reasonNo
reviewedNo
topic_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key behavioral trait: partial mutation where unset fields are preserved, plus policy constraints on reason scope and on when reviewed may be set. It omits permission requirements and what happens to an unknown topic_name, and side effects of linking are only implied.

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?

Front-loaded with the action and the id-lookup instruction, then a compact Args list where each line adds distinct meaning. No redundant restatement of the tool name or filler prose.

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?

Six parameters at 0% schema coverage with no annotations and an output schema that covers returns; the description documents every parameter and the partial-update contract. Minor gaps remain around topic_name failure behavior and whether reviewed can be reset, but nothing an agent needs to make a correct call is absent.

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

Parameters5/5

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

Schema description coverage is 0%, so the Args block is doing all the work, and it defines all six parameters beyond their types — including the non-obvious semantics of reviewed ('only if you were told the reason was too personal and have confirmed the wording is fine') and topic_name as a linking operation.

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 ('Update fields on an existing recommendation') and immediately clarifies the partial-update scope with 'Only provided fields are changed', which separates it from save_recommendation (create) and delete_recommendation.

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 precondition ('Use get_recommendations to find the id first') and routes the reason-field rules to save_recommendation, plus a conditional gate for the reviewed flag. It stops short of saying when to update versus re-save or delete, but the operating context is clear.

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