Skip to main content
Glama

PCR primer design / PCR 引物设计

pcr_primer_design
Read-only

PCR primer design / PCR 引物设计 | USE WHEN: design PCR primer pairs from a DNA sequence or gene (Tm, GC, product size) | ALIASES: 引物设计, PCR引物, primer, 设计引物, 扩增引物, primer pair | RETURNS: 候选引物对与 Tm/GC

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": "pcr_primer_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequenceYes核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。 本端点据此设计引物,建议 100~2000 bp。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / gene
      Removed value: -{
      -  "description": "基因名(无序列时用)",
      -  "type": "string"
      -}
    • changedInput schema / properties / sequence / description
      Previous value: -"模板 DNA 序列"New value: +"核酸序列(纯序列文本)。只接受 DNA IUPAC 字符(ACGT 及 N/R/Y/S/W/K/M/B/D/H/V),大小写不限、空白自动去除;粘贴 FASTA 请只保留序列行(`>` 注释行、行号、数字/标点会被 422 拒绝)。 本端点据此设计引物,建议 100~2000 bp。"
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "sequence"
      +]
  3. 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 and openWorldHint=false, so the safety profile is covered and the bar is lower. The description adds the output shape ('RETURNS: 候选引物对与 Tm/GC'), which matters because there is no output schema, but says nothing about scale, rate limits, or how many candidate pairs come back for very long inputs.

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 structure is front-loaded and scannable, with USE WHEN and RETURNS in predictable slots and no filler prose. The long ALIASES list is bulky but earns its place as a matching aid for Chinese and English phrasings.

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 low-complexity single-parameter tool, this covers the essentials: trigger condition, input expectations (via schema), safety (via annotations) and return content (explicitly, since no output schema exists). The remaining gap is the absence of routing guidance relative to primer_tm and seq_batch_primer.

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% and the single 'sequence' parameter is documented in detail (IUPAC characters, whitespace handling, FASTA rejection, 100-2000 bp recommendation). The description adds nothing beyond 'from a DNA sequence or gene', and the mention of 'gene' is slightly looser than the schema's plain-sequence requirement. Baseline 3 applies 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 names a specific verb and resource - 'design PCR primer pairs from a DNA sequence or gene' - and even lists the optimised quantities (Tm, GC, product size). It is far more than a restatement of the title, but it never contrasts itself with the closely related siblings (primer_tm, seq_batch_primer), so an agent must infer the boundary.

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: design PCR primer pairs from a DNA sequence or gene' clause gives a clear trigger condition, which is more than most definitions offer. It does not state when NOT to use it or which sibling to pick for single-primer Tm checks or batch workflows, so routing against alternatives is left 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