Skip to main content
Glama

Nomogram / 列线图 Nomogram

nomogram
Read-only

Nomogram / 列线图 Nomogram | USE WHEN: turn a logistic or Cox model into a nomogram figure for clinical use | ALIASES: 列线图, Nomogram, 评分图, nomogram, 风险评分图 | RETURNS: 列线图 SVG

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": {
      "csv_data": "<csv_data>"
    },
    "name": "nomogram"
  }
}

Input Schema

NameRequiredDescriptionDefault
csv_dataYes带表头的 CSV 文本,**整段放在一个字符串里**(不是数组、不 base64)。首行是列名,其后每行一个样本。硬性要求:① 至少 1 个特征列 + 1 个结局列;② 数据行 ≥2(含表头 ≥3 行)。结局列按此顺序识别:列名命中 outcome/target/y/label/endpoint/result/结局/因变量/目标变量/结局变量 → 否则取**最后一列**(须为二分类)→ 否则从右往左找第一个二分类列;都找不到会报「未识别到结局列」。结局值只认 0/1、yes/no、true/false、阳性/阴性、是/否、存活/死亡/alive/event 等;其它值该行被跳过。列名命中 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedInput schema / properties / csv_data / description
      Previous value: -"CSV 文本"New value: +"带表头的 CSV 文本,**整段放在一个字符串里**(不是数组、不 base64)。首行是列名,其后每行一个样本。硬性要求:① 至少 1 个特征列 + 1 个结局列;② 数据行 ≥2(含表头 ≥3 行)。结局列按此顺序识别:列名命中 outcome/target/y/label/endpoint/result/结局/因变量/目标变量/结局变量 → 否则取**最后一列**(须为二分类)→ 否则从右往左找第一个二分类列;都找不到会报「未识别到结局列」。结局值只认 0/1、yes/no、true/false、阳性/阴性、是/否、存活/死亡/alive/event 等;其它值该行被跳过。列名命中 id"
  4. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "csv_data"
      +]
  5. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description's one real addition is 'RETURNS: 列线图 SVG', which is valuable given there is no output schema. However, it never discloses prerequisites implied by the wording (a fitted model, a binary or survival outcome) or what happens when the CSV fails outcome detection — that detail lives only in the schema.

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 structured USE WHEN / ALIASES / RETURNS layout is front-loaded and scannable with no filler sentences. The alias list is somewhat redundant ('Nomogram' and 'nomogram', '列线图' twice counting the title), but the multilingual aliases do earn their place for matching.

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?

For a one-parameter, no-output-schema figure tool, the definition covers purpose, trigger, aliases and return artifact — enough to call it correctly. The remaining ambiguity is that the description frames the input as a 'model' while the only parameter is raw CSV, though the schema's outcome-detection rules largely resolve this.

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?

There is a single parameter with 100% schema description coverage, and the schema already spells out CSV format, minimum row/column requirements, outcome-column detection order and accepted outcome value encodings. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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?

Names a specific transformation ('turn a logistic or Cox model into a nomogram figure') and the domain ('clinical use'), so the agent knows exactly what artifact it gets. It does not explicitly distinguish itself from sibling act_cox_model or act_chart_* tools, which is the only thing keeping it off a 5.

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 'USE WHEN' clause gives a clear triggering condition: model is logistic or Cox and a clinical nomogram figure is wanted. There is no when-not guidance or named alternative (e.g., plotting a plain coefficient chart instead), so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources