Skip to main content
Glama

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

Batch primer design / 批量引物设计

seq_batch_primer
Read-only

Batch primer design / 批量引物设计 | USE WHEN: the user needs primers for several sequences or several target regions at once | ALIASES: 批量引物, 引物设计, 多条序列, batch primer, primer design, multiple targets, forward, reverse, Tm, GC | RETURNS: results 逐条结果(含 forward/reverse、Tm、GC、产物长度);某条失败时该条 status/reason 写明原因,不会静默少一条

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
fastaNo多序列 FASTA 文本,按记录逐条设计
targetsNo目标区间数组 [{"start":100,"end":300}, …](0 基或 1 基以返回为准),配合 sequence 使用;坐标越界会 422。
sequenceNo单条序列:配合 targets 按区间设计引物;不传 targets 则整条设计。核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。
sequencesNo序列数组(每条整体设计一对引物)。与 fasta 字段二选一;单条 + 区间设计请改用 sequence + targets。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / sequence / description
      Previous value: -"单条序列(配合 targets 按区间设计;不传 targets 则整条设计)"New value: +"单条序列:配合 targets 按区间设计引物;不传 targets 则整条设计。核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。"
    • changedInput schema / properties / sequences / description
      Previous value: -"序列数组,每条整体设计一对引物"New value: +"序列数组(每条整体设计一对引物)。与 fasta 字段二选一;单条 + 区间设计请改用 sequence + targets。"
    • changedInput schema / properties / targets / description
      Previous value: -"区间数组 [{start,end}],配合 sequence 使用"New value: +"目标区间数组 [{\"start\":100,\"end\":300}, …](0 基或 1 基以返回为准),配合 sequence 使用;坐标越界会 422。"
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The valuable addition is the RETURNS note that a per-record status/reason is emitted on failure and no record is silently dropped — a genuine behavioral trait not in annotations. However, no output schema exists and the description still says nothing about batch size limits, rate limits, or ordering guarantees.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The pipe-delimited layout is front-loaded and easy to scan, and the RETURNS clause earns its place. The ALIASES block, however, is keyword padding ('batch primer, primer design, multiple targets, forward, reverse, Tm, GC') that conveys nothing an agent needs in order to select or invoke the tool.

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 4-parameter read-only design tool with full schema coverage and no output schema, the description supplies the use-case trigger and the failure-surface behavior, which is most of what is missing structurally. It does not state that at least one of fasta/sequences/sequence must be supplied despite required=[], a small but real gap for an agent assembling the call.

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 the schema alone documents fasta, targets, sequence and sequences, including their mutual exclusivity and IUPAC/validation rules. The description adds no parameter meaning beyond that, which is the expected baseline 3 when the schema does the heavy lifting.

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 specific verb and resource (primer design) plus an explicit batch qualifier: 'the user needs primers for several sequences or several target regions at once.' That 'several ... at once' framing functionally separates it from the single-design sibling pcr_primer_design, though the sibling is never named directly.

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 context (multiple sequences or multiple target regions in one request). It stops short of exclusions or a named alternative ('use pcr_primer_design for a single sequence'), so the agent must infer the complement case rather than being told it.

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.