Skip to main content
Glama

save_recommendation

Save books or articles recommended in conversation to a curriculum knowledge graph. Record a specific reason tying each work to a topic so it is findable later.

Instructions

Save a book or reading recommendation that came up during a conversation. Call this whenever a recommendation worth remembering surfaces.

The reason says what the work connects to in the subject matter: the idea it develops, the topic it extends, the other field it speaks to. Be specific, so it is findable later. Do not explain why the person needs it, and do not include anything about their health, family, work, or circumstances. If you are unsure whether something is too personal, leave it out.

If the book is mainly about something private (a health condition, money trouble, a relationship, a legal matter, addiction) and the user has not clearly asked you to keep it, ask before saving. If the user says not to save something, or to forget it, do not save it; if it is already saved, offer to remove it with delete_recommendation.

Args: title: Title of the recommended book or article. reason: What it connects to in the subject matter, e.g. 'develops the idea of liminality through rites of passage'. author: Author name if known. topic_name: Name of the curriculum topic (ideally the concept) this recommendation relates to, if any. 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": {
      "title": "<title>",
      "reason": "<reason>"
    },
    "name": "save_recommendation"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
authorNo
reasonYes
reviewedNo
topic_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 substantial work: it discloses the consent model for sensitive topics, the prohibition on storing health/family/work details, and the special meaning of the reviewed flag. It leaves silent what happens on a duplicate save (dedupe vs. create another entry), which is the main remaining behavioral gap for a write tool.

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?

Purpose and trigger are front-loaded, then constraints, then parameter docs — a sensible order. There is mild redundancy between 'do not include anything about their health, family, work, or circumstances' and the later list of private topics, but each serves a distinct decision point so the overlap is defensible.

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?

An output schema exists, so the description correctly omits return-value detail and instead spends its length on the things structured fields cannot carry: consent handling, sensitive-data rules, and the reviewed workflow. Only duplicate-handling behavior is unaddressed for a write tool with a natural key of title.

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% and all five parameters are still fully documented in the Args block, including worked examples for reason ('develops the idea of liminality through rites of passage') and non-obvious semantics for reviewed (set True only after being told the reason was too personal) — information no schema field conveys. topic_name is given intent ('ideally the concept') but not matching rules, a minor omission.

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 first sentence states a specific verb and resource — save a book or reading recommendation from a conversation — which an agent can immediately distinguish from delete_recommendation or update_recommendation. It does not explicitly name a contrasting sibling path for the 'already exists' case, which keeps it from a 5.

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?

It gives an explicit trigger ('call this whenever a recommendation worth remembering surfaces'), explicit exclusions ('if the user says not to save something... do not save it'), and names the alternative action (offer delete_recommendation) for the already-saved case. The privacy branch adds a clear ask-first condition rather than leaving consent to inference.

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