Skip to main content
Glama

derivation_complete

Complete and archive a symbolic derivation by attaching clinical context, assumptions, and references, returning the full record with provenance.

Instructions

    完成推導並自動存檔

    標記推導為完成,返回完整的推導記錄。
    Agent 應該提供描述性知識(公式的物理/臨床意義、使用時機等)。

    Args:
        description: 公式描述(物理/化學/臨床意義)
        clinical_context: 臨床應用場景(何時使用這個公式)
        assumptions: 推導假設條件
        limitations: 使用限制
        references: 參考文獻
        tags: 標籤(用於分類和搜尋)
        auto_save: 是否自動存檔(預設 True)

    Returns:
        完整推導記錄,包含:
        - 最終表達式
        - 所有步驟
        - 使用的公式及其來源
        - 溯源資訊
        - 存檔路徑(如果 auto_save=True)

    Example:
        derivation_complete(
            description="Temperature-corrected drug elimination rate combining first-order kinetics with Arrhenius equation",
            clinical_context="Use when adjusting drug dosing for febrile patients or hypothermia protocols",
            assumptions=["First-order elimination kinetics", "Arrhenius temperature dependence"],
            limitations=["Valid only for temperature range 32-42°C", "Assumes linear protein binding"],
            references=["Goodman & Gilman Ch.2", "Atkins Physical Chemistry Ch.22"],
            tags=["pharmacokinetics", "temperature", "elimination"]
        )
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
auto_saveNo
referencesNo
session_idNo
assumptionsNo
descriptionNo
limitationsNo
clinical_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses auto-save behavior ('自動存檔'), the auto_save parameter defaulting to True, and the return payload including save path. It does not mention whether completion is irreversible or blocks further step recording, but the state change is implied by 'mark as complete'.

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 front-loaded with a Chinese summary, followed by well-organized Args, Returns, and Example sections. Every part adds value, including the detailed example, and there is no redundancy or unnecessary fluff.

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?

Given the 8-parameter schema with 0% coverage and the presence of an output schema, the description provides strong context about what to submit and what to expect in return. It explains the auto-save behavior and return fields. However, it doesn't mention session_id or how this tool relates to other finalization/abort siblings, leaving minor contextual gaps.

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 description coverage is 0%, so the description compensates by defining most parameters in the Args section (description, clinical_context, assumptions, limitations, references, tags, auto_save). It omits session_id, which appears in the schema, leaving one parameter undocumented. The example further clarifies usage, but the gap prevents a 5.

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 clearly states the tool's function: '完成推導並自動存檔' (complete derivation and auto-save) and '標記推導為完成' (mark derivation as complete). It explicitly says it returns the complete derivation record, which distinguishes it from step-level tools like derivation_record_step or derivation_abort.

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

Usage Guidelines4/5

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

The description gives clear context that this is the completion step for a derivation and instructs the agent to provide descriptive knowledge (physical/clinical meaning, usage timing). However, it does not explicitly state when not to use this tool or contrast it with alternatives like derivation_abort, so exclusions are missing.

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/u9401066/nsforge-mcp'

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