Skip to main content
Glama

add_term

Adds a new term and definition to the project glossary, returning an error if the term already exists; optional aliases and context-specific definitions are supported.

Instructions

新しい用語と定義を辞書に追加します。既に存在する用語の場合はエラーを返します。

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>",
      "description": "<description>"
    },
    "name": "add_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYes追加する用語名
aliasesNo用語の別名・別表記 (任意)
contextNo文脈・分野(例: 行政・ビジネス)。省略時はデフォルト定義として登録されます。
descriptionYes用語の説明・定義

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 disclose one important behavior: a duplicate term produces an error rather than an overwrite or silent merge. It does not cover required permissions, what a successful call returns, or whether aliases/context collisions also fail, so the safety and side-effect profile is only partially revealed.

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?

Two short sentences, zero filler, with the core action front-loaded and the failure condition second. Nothing could be removed without losing 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 four-parameter mutation tool with no annotations and no output schema, the description covers purpose and the duplicate-failure case but leaves the success response, permission requirements, and the relationship to update_term unstated. Adequate to invoke correctly, incomplete for predicting outcome.

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 description coverage is 100% and every parameter is documented in the schema, including the note that an omitted context registers the entry as a default definition. The description adds no meaning about term, aliases, or context beyond that, so the baseline 3 applies.

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?

States a concrete verb and resource: adding a new term and its definition to the dictionary. The add-vs-update distinction is only implied by the duplicate-error clause rather than by naming the sibling, but an agent can still tell it is the creation operation rather than a lookup, listing, update, or delete.

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?

The duplicate-error clause tells the agent this tool is for terms that don't already exist, which implicitly routes existing terms to update_term, but the alternative tool is never named and no explicit when-not-to-use statement is given. Usage is inferred rather than stated.

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