Skip to main content
Glama

Worms Resolve Taxon

worms_resolve_taxon
Read-onlyIdempotent

Resolve exact or explicitly fuzzy scientific names, or search one vernacular name as a whole recorded common name or, with vernacularMatch: "contains", as part of one. Names default to marine-or-brackish and extant taxa; vernacular cannot filter. Resume scientific segments with nextInputOffset and nextMatchOffset against unchanged names and options; inputIndex preserves duplicates and partialGroup identifies split groups. For vernacular, consume nextResultOffset within the same upstream offset before advancing page.nextOffset and resetting resultOffset to zero. Full 50-match upstream groups remain completeness-unknown; accepted-name fields do not choose an ambiguous match.

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

Input Schema

NameRequiredDescriptionDefault
fuzzyNoExplicit fuzzy scientific-name matching; unavailable for vernacular.
namesNoNonempty original scientific-name list, with no total-input ceiling; at most 50 positions fetched per call. Resubmit unchanged with continuation offsets, preserving duplicates.
offsetNoVernacular only: one-based upstream starting record, advancing by 50; default 1. Scientific names accept only 1.
extantOnlyNoFilter scientific names to extant taxa; vernacular cannot filter and rejects false.
marineOnlyNoFilter scientific names to taxa WoRMS flags marine or brackish; false also admits freshwater-only and terrestrial taxa. Vernacular cannot filter and rejects false.
vernacularNoCommon name, mutually exclusive with names; blank means unset.
inputOffsetNoZero-based original scientific names position; inactive for vernacular.
matchOffsetNoZero-based match within the scientific-name group at inputOffset; inactive for vernacular.
resultOffsetNoZero-based match within the fetched vernacular page; keep upstream offset until consumed. Inactive for scientific names.
matchAuthorityNoFuzzy scientific names only. Require WoRMS to match supplied authorship; incomplete or differing authorship may miss. Default false when fuzzy; omit in other modes.
vernacularMatchNoVernacular only: exact matches a whole recorded common name; contains matches every recorded common name containing the text, such as grouper in Nassau grouper. Names accept only exact; blank means exact.exact

Output Schema

NameRequiredDescriptionDefault
echoNoEffective matching options.
modeNoMatching mode.
pageNoVernacular page only.
errorNoPresent when the call failed. Absent on success.
noticeNoEmpty vernacular-page guidance, or the inputIndex of each returned 50-match scientific-name group, whose completeness is unknown, with the change that narrows it.
resultsNoOne result per processed input.
byteBudgetNoComplete serialized response byte target.
totalCountNoKnown local sequence length before pagination.
attributionNoWoRMS source attribution.
resultOffsetNoZero-based starting position in the complete local sequence.
budgetLimitedNoWhether the byte budget ended this local page early.
deferredCountNoOriginal input positions not fully consumed.
oversizedItemNoOne indivisible scientific item exceeds the target; retained intact with forward progress.
requiredBytesNoSerialized paired-surface result bytes for an oversized item, excluding transport-added metadata.
returnedCountNoWhole scientific items returned on this segment.
nextInputOffsetNoNext original names position; resubmit unchanged names and options.
nextMatchOffsetNoNext match position at nextInputOffset; null when names consumed.
nextResultOffsetNoNext local position; null when consumed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / matchAuthority
      Added value: +{
      +  "description": "Fuzzy scientific names only. Require WoRMS to match supplied authorship; incomplete or differing authorship may miss. Default false when fuzzy; omit in other modes.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / echo / properties / matchAuthority / description
      Previous value: -"Fuzzy authority matching, always false."New value: +"Effective authority matching in fuzzy mode only."
    • addedOutput schema / properties / results / items / properties / matches / items / properties / kingdom
      Added value: +{
      +  "description": "Kingdom.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / marineOnly / description
      Previous value: -"Filter scientific names to marine taxa; vernacular cannot filter and rejects false."New value: +"Filter scientific names to taxa WoRMS flags marine or brackish; false also admits freshwater-only and terrestrial taxa. Vernacular cannot filter and rejects false."
  3. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent, and the description adds substantive behavior well beyond them: default marine-or-brackish and extant filtering, that full 50-match upstream groups remain 'completeness-unknown', that accepted-name fields will not pick among ambiguous matches, and precise continuation rules for both scientific and vernacular pagination. These are exactly the non-obvious operational traits an agent needs before trusting results.

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?

Sentences are dense and front-loaded with the purpose, and there is no filler. However, the middle of the description is a chain of semicolon-clamped clauses referencing field names (nextInputOffset, nextMatchOffset, inputIndex, partialGroup, nextResultOffset, page.nextOffset, resultOffset) that are never defined, which hurts readability and makes the pagination guidance hard to parse on first read.

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 an 11-parameter, dual-mode, paginated tool this covers the difficult parts: mode exclusivity, default filters, and resumption semantics, and an output schema exists so return values need not be explained. The remaining gap is that it never situates the tool against its siblings or defines the output field names it leans on for continuation.

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?

With 100% schema description coverage, the baseline is 3 and the schema already documents each parameter's type, defaults, bounds, and mode restrictions. The description adds some cross-parameter meaning (resubmit names unchanged with continuation offsets, consume nextResultOffset before advancing page.nextOffset), but it does so by referencing output field names it never introduces, so the added semantics are only partially usable.

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 opens with a specific verb and resource: 'Resolve exact or explicitly fuzzy scientific names, or search one vernacular name as a whole recorded common name or ... as part of one.' That is much more precise than the title and makes the dual scientific/vernacular mode structure clear. It does not name or contrast any sibling (e.g. worms_get_taxon for ID lookup), so it falls short of the 5 tier that requires explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Mode-selection logic is present but indirect: it states fuzzy is unavailable for vernacular, that vernacular and names are mutually exclusive, and that vernacular cannot filter, which tells an agent which option is legal but not when to prefer this tool over worms_get_taxon or worms_get_classification. There are no explicit when-to-use/when-not-to-use statements or named alternatives, so this is implied usage rather than guidance.

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.