Skip to main content
Glama

survey_off_targets

Read-only

Count every guide's off-target sites by mismatch class across one sequence, in one pass — the question that comes BEFORE opening any single guide's site table: which of these spacers is worth looking at.

Input Schema

NameRequiredDescriptionDefault
_filesNoThe project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name.
spacersYesthe protospacers to count — wire the spacers out of a design run, or list them.
subjectNothe sequence to search — wire a record or name a library document; leave unset to search the open record.
_subjectNoThe record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several.
circularNocount across the origin as well. Advanced.
nucleaseNowhich nuclease's PAM and geometry to use. Values: SpCas9 (SpCas9: NGG (3')), SpCas9-NG (SpCas9-NG: NG (3')), SpG (SpG: NGN (3')), SpRY (SpRY: NRN (3')), xCas9 (xCas9: NG (3')), SaCas9 (SaCas9: NNGRRT (3')), SaCas9-KKH (SaCas9-KKH: NNNRRT (3')), AsCas12a (AsCas12a: TTTV (5')), LbCas12a (LbCas12a: TTTV (5')), enAsCas12a (enAsCas12a: TTTV (5')).SpCas9
dna_bulgeNoextra bases in the DNA a site may carry. 0 counts mismatches only. In nt. Advanced.
rna_bulgeNoextra bases in the guide a site may carry. Same envelope as `dna_bulge`. In nt. Advanced.
max_mismatchesNohow many mismatches a site may carry and still be counted. Every row is this many classes wide plus the exact one, so the rows line up.

Output Schema

NameRequiredDescriptionDefault
countedYeshow many distinct spacers were counted
skippedYesspacers that could not be counted, each with the reason — never dropped in silence
spacersYesone row per spacer: its counts by mismatch class, its total, its off-target count and its aggregate MIT/CFD specificity within the searched sequence
cleanestYesthe spacer with the fewest off-target sites (ties broken by the higher CFD specificity) — empty when nothing could be counted
searchedYesthe sequence the counts are against, which is what makes them readable later

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 safety is covered. The description adds real behavioral context — computation happens for all spacers in a single pass over one sequence — but says nothing about cost, runtime, or the sensitivity trade-offs of the mismatch-class sweep. Adequate, not rich.

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?

One tight sentence with the action and scope front-loaded, followed by the triage rationale. The 'question that comes BEFORE...' clause is slightly rhetorical but earns its place by conveying usage order; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There are 9 parameters including nested record references and an output schema, so returns need no explanation. However, the description never signals that the nuclease choice determines PAM/geometry (a consequential decision among ten options) or that bulge settings exist, leaving the agent to discover the most impactful knobs purely from the schema.

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 every parameter (nuclease with per-enzyme PAMs, dna_bulge, rna_bulge, max_mismatches, circular, subject, _subject, _files) is already documented in-schema. The description only echoes 'by mismatch class' and 'across one sequence,' adding no format or default guidance beyond that baseline.

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?

Specific verb plus resource: 'Count every guide's off-target sites by mismatch class across one sequence, in one pass.' It names the unit of work (all spacers at once, one sequence) and implicitly distinguishes itself from the per-guide sibling search_off_targets by contrasting with 'opening any single guide's site table.' An agent can tell this is the batch triage counterpart, not the deep per-guide lookup.

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?

Clear situational framing: this is the question that comes 'BEFORE' drilling into a single guide's site table, i.e. use it to rank spacers for further scrutiny. It does not explicitly name search_off_targets or screen_guides as the follow-up alternatives, so the routing is inferable but not stated.

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