Skip to main content
Glama

三域医研 · 科研算法引擎 (SanYu Research Engine)

Sequence format conversion / 序列格式转换(FASTA/GenBank/EMBL/Stockholm)

seq_convert
Read-only

Sequence format conversion / 序列格式转换(FASTA/GenBank/EMBL/Stockholm) | USE WHEN: the user needs to convert a sequence between FASTA / GenBank / EMBL / Stockholm | ALIASES: 格式转换, 序列格式, fasta, genbank, embl, stockholm, format conversion, convert sequence | RETURNS: 转换后的文本 output、记录条数、转换告警(丢失的注释字段会明说)

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": {
      "sequence": "<sequence>"
    },
    "name": "seq_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequenceYes原始序列文本(可含 FASTA 头);也接受 content/input/text/data 字段名
to_formatNo目标格式:同上,默认 genbank
from_formatNo源格式:fasta / genbank / embl / stockholm,默认 fasta

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it returns converted text plus a record count, and explicitly warns that lost annotation fields will be called out in the conversion warnings — a real side effect the agent would otherwise not know about.

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?

It is front-loaded with the purpose, then USE WHEN, ALIASES, and RETURNS in a scannable structure. The ALIASES block repeats format names already in the title and is largely keyword padding, but the sectioning keeps the useful parts prominent.

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 three-parameter, read-only conversion tool with full schema coverage and annotations, the definition covers purpose, trigger, and the return shape (text, record count, warnings). Minor gaps remain — multi-record input handling and error behavior — but nothing critical for correct invocation is missing.

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?

Schema description coverage is 100%, so each of the three parameters is already documented, including the from_format/to_format defaults and the alternate field names for the sequence input. The description adds nothing beyond the schema about parameter meaning or format edge cases, so the baseline of 3 applies.

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?

States a specific verb+resource: converting a sequence between named formats (FASTA/GenBank/EMBL/Stockholm). This unambiguously separates it from sequence siblings like seq_align, seq_digest, or seq_analyze without needing to read any schema.

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: the user needs to convert a sequence between FASTA/GenBank/EMBL/Stockholm' clause gives an explicit trigger condition. It does not state when NOT to use it or point to an alternative (e.g., a batch/multi-record converter), so it falls short of a full routing statement.

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.