Skip to main content
Glama

lookup_term

Searches a project dictionary for a term’s definition and returns a context-specific translation when a domain or usage context is provided.

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

Input Schema

NameRequiredDescriptionDefault
termYes検索する用語名
contextNo文脈・分野(例: 行政・ビジネス, プロジェクト・技術)。指定しない場合はデフォルトの定義を返します。

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 supplied, the description carries the full behavioral burden. It signals a read-style lookup (「検索します」) and explains that context changes which definition is returned, which is useful. However, it says nothing about permissions, what happens on a miss, or the shape of the result (e.g., whether a translation, a definition string, or multiple entries are returned).

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 resource and action, with the context behavior second. Every clause carries information; only the missing sibling comparison keeps it from a 5.

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 two-parameter, non-destructive lookup with a fully documented schema, the description is adequate. It is still thin on the things an agent would want before calling: fallback behavior when no entry exists and what the returned value looks like, given there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real nuance: context selects a domain-appropriate translation rather than merely filtering, which tells the agent why it would supply context at all. It does not add terminology-format or language hints beyond the schema examples.

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 description names a specific verb and resource: looking up a term's definition in the project dictionary (「指定した用語の定義をプロジェクト辞書から検索します」). It clearly distinguishes a lookup from the mutation siblings (add/delete/update), but never contrasts itself with list_terms, leaving the lookup-vs-enumerate distinction implicit.

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 is implied by the purpose: call this when you need a definition for a term, and pass a context when that definition must match a specific domain. There is no explicit when-not guidance, no mention of list_terms as the alternative for browsing, and no statement about behavior when the term is absent from the dictionary.

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