Skip to main content
Glama

update_concept

Edit an existing concept's name, short definition, source references, and flashcard IDs to keep learning materials accurate.

Instructions

修订已有 concept 的字段 (name / short_definition / source_refs / flashcard_ids).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
concept_idYes
source_refsNoSourceRef[];每项须为对象 {type, url?, file_ref?, page?, ...},type 取封闭枚举
flashcard_idsNo每项必须是已存在的 flashcard id(server 会查存在性)
idempotency_keyNo可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写".
short_definitionNo
Behavior2/5

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

No annotations are provided, so the description bears full behavioral disclosure burden. It only lists updatable fields and says 'revise', but fails to disclose partial-update semantics (merge vs replace), error handling for nonexistent concepts, validation results (e.g., flashcard existence), idempotency behavior (though the schema hints at it), or any side effects.

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?

The description is a single, front-loaded sentence with the verb and resource up front, followed by a compact field list. Every element contributes meaning, with no fluff or repetition.

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

Completeness2/5

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

This is a mutation tool with no annotations and no output schema, yet the description provides minimal context. It omits return behavior, error semantics, partial-update rules, prerequisites (e.g., concept must exist), and any guidance on idempotency_key usage, making it incomplete for safe autonomous invocation.

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?

The schema already provides descriptions for source_refs (format), flashcard_ids (existence check), and idempotency_key (retry behavior), covering about 50% of parameters. The description adds a list of updatable fields, which is slightly redundant with the schema's properties but clarifies that concept_id and idempotency_key are not content fields to be modified.

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 uses the specific verb '修订' (revise) and targets the 'concept' resource, explicitly listing the four updatable fields (name / short_definition / source_refs / flashcard_ids). The word '已有' (existing) clearly distinguishes this from sibling tool add_concept, which creates new concepts.

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 description implies when to use the tool ('revise existing concept') but provides no explicit alternatives or exclusions. It does not state 'use add_concept for new concepts' or warn against misuse, leaving usage context mostly implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sf-shenfeng/learn-shell'

If you have feedback or need assistance with the MCP directory API, please join our Discord server