Skip to main content
Glama

Set Glossary

set_glossary
DestructiveIdempotent

Replace the workspace's glossary. Full replacement, max 50,000 entries — call get_glossary first and send back the complete list. To add terms from a spreadsheet, use import_glossary instead.

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": {
      "entries": "<entries>"
    },
    "name": "set_glossary"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesYes

Output Schema

NameRequiredDescriptionDefault
totalNo
entriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the description has a lower bar but still adds real signal: the operation is a *full* replacement (anything omitted is lost, not merged), there is a 50,000-entry cap, and the agent must round-trip through get_glossary first. It does not address permissions, concurrency, or whether other workspace members are affected, which keeps it from a 5.

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?

Three short sentences, zero filler, with the destructive nature and the hard limit front-loaded before the alternative-tool routing. Every sentence carries actionable information.

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?

For a destructive bulk-replacement mutation, the description covers the essential risks: total overwrite semantics, the size ceiling, and the required read-before-write step. Since an output schema exists, return values need not be explained; only side effects on other users/workspaces remain unaddressed.

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?

With one parameter and near-zero schema description coverage, the description must compensate. It usefully clarifies that `entries` is the *complete* list rather than a delta and that it is capped at 50,000, which the schema does not convey. However, it says nothing about the item-level fields (term, caseSensitive, translations), so semantic coverage of the array contents 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?

The description opens with a specific verb and resource: "Replace the workspace's glossary," immediately clarified as "Full replacement." It also distinguishes itself from the two most relevant siblings by name (get_glossary and import_glossary), so the agent can differentiate it without inspecting schemas.

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 prerequisite workflow ("call get_glossary first and send back the complete list") and an explicit routing rule for an alternative case ("To add terms from a spreadsheet, use import_glossary instead"). Both when-to-use and when-not-to-use are spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources