Skip to main content
Glama

log_topic

Add a concept, book, article, media item, or practice to the curriculum knowledge graph so ideas are captured, tagged, and ready to link with related principles.

Instructions

Add a topic to the curriculum knowledge graph. Use this whenever a book, idea, or practice comes up that is worth keeping.

The graph connects ideas across fields, so its nodes are transferable principles, not subjects. Choose the type with that in mind:

  • 'concept': a principle that applies in more than one field. Name the principle itself ('performance under variance', 'liminality', 'opportunity cost'), not the subject area ('golf', 'anthropology'). Subject areas go in tags.

  • 'book', 'article', 'media' (shows, films, podcasts), 'practice': a specific work or activity. When you log one, also log the principle it develops as a 'concept' and connect them with link_topics.

Before adding a concept, call search_curriculum in case the idea is already there under a similar name, and reuse it if so.

The description is one or two sentences about the subject matter and why it belongs in the graph. Describe the subject, not the person: nothing about their health, family, work, or circumstances, and no 'I', 'my', or 'the user'. The same goes for the name of a concept and for tags: they name ideas and subject areas, never the person's situation ('loss aversion', not 'my gambling problem').

Some subjects are private in themselves: health conditions, money trouble, relationships, legal matters, addiction. If the user has not clearly asked to keep one in their graph, ask first, and save it only if they say yes. Do not ask about ordinary topics that merely touch these areas. 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_topic.

Args: name: The principle, or the title of the work or practice. type: One of 'book', 'article', 'media', 'concept', or 'practice'. author: Author or creator, for works. description: What the topic is about, in terms of the subject only. tags: Subject areas it touches, e.g. ['golf', 'poker', 'investing']. Subject areas only, never anything about the person. reviewed: Set True only if you were told a field 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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "log_topic"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
typeYes
authorNo
reviewedNo
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that writes go into a shared knowledge graph, that the agent must obtain consent before logging sensitive subjects, and that the dedup obligation sits with the caller rather than the server. The main residual gap is what happens on a write when a near-duplicate already exists (error, upsert, or silent duplicate) — it is 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then type guidance, dedup rule, content policy, and a per-argument list — a sensible order. It is long for a single tool, and the "never about the person" rule is restated three times (body, name, tags), which is defensible emphasis but still redundant prose.

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

Completeness5/5

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

For a high-judgment semantic write tool, it covers the taxonomy, the linking obligation, the privacy escalation path, and per-field content constraints; an output schema exists so return values need no explanation. Nothing an agent needs in order to call this correctly and ethically is missing.

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 coverage is 0%, so the description has to do all the work, and it does: it defines the allowed type values (which the schema does not enumerate), constrains 'name' to a principle rather than a subject area, constrains 'description' and 'tags' with content rules and examples, and gives 'reviewed' a non-obvious meaning ("Set True only if you were told a field was too personal and have confirmed the wording is fine") that could not be guessed from a boolean named reviewed.

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?

Opens with a specific verb+resource ("Add a topic to the curriculum knowledge graph") and immediately scopes what belongs in it. The type taxonomy (concept vs book/article/media/practice) and the instruction to pair entries via link_topics separate it cleanly from search_curriculum, link_topics, update_topic and delete_topic.

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?

Explicit trigger ("whenever a book, idea, or practice comes up that is worth keeping"), explicit prerequisite ("Before adding a concept, call search_curriculum ... and reuse it if so"), and explicit hand-off for removal ("offer to remove it with delete_topic"). It also states when NOT to act: don't save private subjects without a clear ask, and don't save at all if the user says to forget it.

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