Skip to main content
Glama

set_glossary_term

DestructiveIdempotent

Define or redefine a term in a shared workspace glossary, with aliases, so agents use consistent wording and avoid meaning drift; upserts the canonical term-to-definition entry.

Instructions

Define (or redefine) a term in the workspace's shared glossary — the canonical term -> definition so agents use words the same way (the anti-drift pin; the target of a defines reference). Upserts on the term.

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": {
      "term": "<term>",
      "definition": "<definition>"
    },
    "name": "set_glossary_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYes
aliasesNoalternate labels for the same term
definitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true; the description adds real value by explaining that operation is an upsert keyed on term, which justifies the idempotency and clarifies that redefinition overwrites. It does not state what happens to existing aliases on redefine or whether prior definitions are recoverable, so the destructive side is only partly covered.

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?

Two short sentences, front-loaded with the verb and resource, with the upsert behavior appended as a distinct fact. Slightly jargon-heavy ('anti-drift pin', 'defines reference') but each clause carries information.

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?

For a three-parameter mutation with no output schema and annotations covering the safety profile, the essentials are present (key, meaning, upsert). Missing: alias replacement behavior on redefine, what the tool returns, and any permission requirements for writing to a shared workspace glossary.

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 33%, so the description must compensate; it clarifies that 'term' is the canonical key and 'definition' is its meaning, and that upsert targets the term. The 'aliases' parameter is left entirely to its schema line with no description guidance, so compensation is partial.

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?

Specific verb+resource: 'Define (or redefine) a term in the workspace's shared glossary' plus the canonical term -> definition mapping. It clearly distinguishes the write side from get/list/delete glossary siblings and states the upsert semantics up front.

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?

Usage context is implied ('so agents use words the same way', 'the target of a `defines` reference'), which conveys intent but never says when to prefer this over get_glossary_term or delete_glossary_term, nor any prerequisites. No explicit when/when-not routing.

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

Deploy Server

Other Tools