Skip to main content
Glama

resource_term_add

Destructive

Add a terminology entry to enforce consistent translations in game localization. Specify source, target, and writing variants to merge or create term records.

Instructions

人拍的板:整行按给进来的那份写(五栏都可以只填一栏;找不到同一行就新开一行)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNo谁拍的板:human / user / agenthuman
keyNo一组写法,各带自己的译名:[{"writing": "Eve", "target": "伊芙"}]。任一写法在原文里命中即触发这一行
whyNo为什么这么改(记进变更日志)
exactNo整行按给进来的那份写(面板的编辑表单用;缺省是逐栏合并)
orderNo注入顺序:数值大的更靠后(更靠近提示词末尾)
sourceNo原文写法(简写:等价于只有一个写法的 key)
targetNo这个词的译名(简写用)
profileNo事实列表,**一行一条**(注入时用「;」连成一行)
projectNo游戏项目根目录(默认当前目录)
workdirNo工作区目录,默认 <项目>/.gametrans
constantNo蓝灯:没有写法命中也每次都注入(世界观 / 风格类)
positionNo进哪一段:terms(【术语书】)/ tail(该段最后)terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered. The description adds some behavior beyond that: the row is written as provided and a new row is created when no match exists, hinting at whole-row overwrite/upsert semantics. It still omits auth needs, logging, merge behavior, and impact on existing fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The single sentence is short but under-specified rather than concise. The bold label '人拍的板' is cryptic and the description is not front-loaded with an actionable purpose, making it hard to scan or reuse.

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

Completeness1/5

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

For a 12-parameter, destructive, nested-object add tool with no output schema, one opaque sentence is far from complete. It omits how key/source/target/profile interact, the meaning of project/workdir defaults, position enum behavior, and how partial fills affect existing rows.

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%, so the schema already documents all 12 parameters. The description only echoes part of the 'exact' parameter and mentions five columns; it adds no syntax, examples, or interaction details beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a cryptic operational note ('人拍的板:整行按给进来的那份写...') rather than a clear statement of purpose. It implies writing/creating a row, but never names the resource term table or distinguishes from siblings such as resource_term_propose, resource_term_import, or resource_term_remove.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, prerequisites, or alternatives are provided. The clause '找不到同一行就新开一行' describes upsert behavior, not usage guidance, so an agent cannot tell when this tool should be chosen over sibling add/import/propose tools.

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