Skip to main content
Glama

derivation_insert_note

Insert explanatory notes into any derivation step without altering calculations. Supports assumptions, limitations, observations, corrections, clinical and physical insights; auto-renumbers later steps.

Instructions

    在指定位置插入說明

    ═══════════════════════════════════════════════════════════════════════
    📝 用於在推導中間補充說明,不改變計算流程
    ═══════════════════════════════════════════════════════════════════════

    插入後會自動重新編號後續步驟。

    Args:
        after_step: 在此步驟之後插入(0 = 最開頭)
        note: 說明內容
        note_type: 說明類型
            - "assumption": 📋 假設條件
            - "limitation": ⚠️ 限制/警告
            - "observation": 💡 觀察/洞見
            - "correction": 🔧 修正建議
            - "clinical": 🏥 臨床意義
            - "physical": 🔬 物理意義
        related_variables: 相關變數

    Returns:
        插入結果

    Example:
        # 在步驟 5 和 6 之間插入說明
        derivation_insert_note(
            after_step=5,
            note="此處假設達穩態,實際臨床可能需要 5 個半衰期",
            note_type="clinical",
            related_variables=["t_half"]
        )
        → {"success": True, "inserted_at": 6, "new_step_count": 17}
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
note_typeNoobservation
after_stepYes
session_idNo
related_variablesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden, and it does well by disclosing that the operation is non-mutating ('不改變計算流程') and that subsequent steps are automatically renumbered. It also includes a concrete return example, showing the result shape. It does not cover session_id behavior or error edge cases, so transparency is strong but not exhaustive.

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?

The description is well-structured with sections for purpose, Args, Returns, and Example, and the core purpose appears in the first line. Decorative ASCII lines and emojis add minor visual noise but do not obscure or repeat essential information; the length is justified by the need to explain multiple parameters and provide an example.

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?

The description is largely complete for a note-insertion tool: it explains the purpose, the non-mutating nature, the renumbering side effect, key parameters (except session_id), and provides an example return value. Since an output schema exists, not detailing return fields is acceptable. The main missing piece is explicit differentiation from similar tools like derivation_add_note, which would improve completeness.

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?

Since the schema has 0% description coverage, the Args section adds essential meaning for most parameters: after_step is explained with the 0-start special case, note content is described, note_type includes all enum values, and related_variables is defined. However, session_id is entirely omitted from the description, which is a notable gap given it is a parameter in the schema.

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: inserting an explanation at a specified position in a derivation. It further clarifies this is for supplementing notes mid-derivation without changing the calculation flow, which distinguishes it from note-adding or step-modifying siblings like derivation_add_note. The positional and renumbering details make the purpose unambiguous.

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 explicitly frames the tool as being 'used to supplement explanation' and notes it does not alter the calculation process, giving a clear context for when to use it. However, it does not directly refer to alternative tools or state when not to use this tool, so it stops short of providing full exclusion or alternative guidance.

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