Skip to main content
Glama

create_lineage_doc

Save an editable lineage note that maps known concepts to unfamiliar research with a Mermaid flow chart, comparison table, and math diff for clear conceptual tracing.

Instructions

[MANDATORY WORKFLOW STEP 2/2] Save a lineage note. mindmap_mermaid MUST be Mermaid flowchart TD, never mindmap or a plain outline; label edges with causal/evolutionary logic and use distinct Mermaid style colors for known-anchor and unknown/new-breakthrough nodes.

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": {
      "filename": "<filename>",
      "mindmap_mermaid": "<mindmap_mermaid>",
      "comparison_table_md": "<comparison_table_md>",
      "math_diff_md": "<math_diff_md>"
    },
    "name": "create_lineage_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
math_diff_mdYes
known_anchorsNo
seminal_papersNo
mindmap_mermaidYes
comparison_table_mdYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses meaningful format constraints (Mermaid flowchart TD only, causal edge labels, distinct style colors for known-anchor vs. new nodes) that the schema does not encode, but it is silent on write semantics such as overwrite behavior, whether the filename must be new, and any validation/error outcome.

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 workflow tag and the hard format constraint on 'mindmap_mermaid' are front-loaded, and every clause rules out a real failure mode. The semicolon-chained constraint sentence is dense but not wasteful.

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?

An output schema exists so return values need not be explained, but the tool has 6 parameters (4 required) with zero schema documentation and no annotations. Leaving five parameters completely undefined for a save/create operation is a substantial completeness gap.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description must compensate—but it only adds meaning for 'mindmap_mermaid'. The required 'filename', 'comparison_table_md', and 'math_diff_md' plus optional 'known_anchors' and 'seminal_papers' get no explanation of expected content or format at all.

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?

States a specific verb and artifact ('Save a lineage note') and places it explicitly as step 2/2 of a mandatory workflow. It is clearly distinguishable from the research/read siblings, though it never names them or explains how it differs from 'research_and_save_lineage_doc'.

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 '[MANDATORY WORKFLOW STEP 2/2]' prefix implies it should be invoked after the research/gather step, which is useful ordering guidance. However, it never names the prerequisite tool or states when-not to use it (e.g., when a doc already exists and should be patched instead of recreated).

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