Skip to main content
Glama

DNA → protein translation / 序列翻译

dna_translate
Read-only

DNA → protein translation / 序列翻译 | USE WHEN: translate a nucleotide sequence into amino acids in all three frames | ALIASES: 序列翻译, 核酸转蛋白, 翻译, translate, DNA to protein, 氨基酸序列, ORF翻译 | RETURNS: 氨基酸序列

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sequence": "ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG"
    },
    "name": "dna_translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequenceYes核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。 返回 6 个阅读框的翻译结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sequence / description
      Previous value: -"核酸序列"New value: +"核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。 返回 6 个阅读框的翻译结果。"
  2. 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, destructiveHint=false, openWorldHint=false, so the safety profile is fully covered and the description only needs to add output context. It does add "RETURNS: 氨基酸序列", but says "all three frames" here while the schema states six reading frames are returned, an inconsistency that could mislead interpretation of results.

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 pipe-delimited layout is front-loaded with the core operation, then trigger, aliases, and return value. The alias list is long-ish but earns its place as retrieval surface for Chinese and English phrasings; nothing is truly redundant.

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, read-only tool with no output schema, the definition covers action, trigger, and return type adequately. The remaining gap is the frame-count ambiguity (three vs six frames), which matters because the agent must explain what output to expect.

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 coverage is 100% and the single parameter's description already details accepted IUPAC characters, case/whitespace handling, and FASTA rejection rules. The tool description adds nothing about the sequence parameter, so 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?

The description gives a concrete verb and resource ("DNA → protein translation", "translate a nucleotide sequence into amino acids"), so an agent knows immediately what it produces. The DNA-input framing also implicitly separates it from the protein_* siblings, though it never names one explicitly.

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 explicit "USE WHEN: translate a nucleotide sequence into amino acids" trigger states the calling condition clearly. There are no exclusion rules or named alternatives for cases like protein-level analysis (protein_digest, protein_ptm), leaving that boundary to inference.

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