Skip to main content
Glama

Worms Crosswalk Id

worms_crosswalk_id
Read-onlyIdempotent

Crosswalk an AphiaID from worms_resolve_taxon to one or all nine external identifier systems, or reverse an externalId with required type to a full taxon record. Supply exactly one selector. Forward resultOffset indexes whole identifiers across types in requested order; resume nextResultOffset with unchanged selectors. typeTotals distinguishes successful absence from IDs on another segment; failed types remain separate. IDs stay opaque, including leading zeros and LSIDs. No IDs cannot establish taxon absence; IUCN identifiers are not threat categories.

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_crosswalk_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoRequired for reverse; omit forward to query all nine types. Codes ignore case and surrounding whitespace. See worms_list_reference external_id_types.
aphiaIdNoForward numeric AphiaID, decimal string, or canonical WoRMS LSID; mutually exclusive with externalId.
externalIdNoReverse selector; opaque identifier up to 512 characters; blank omitted.
resultOffsetNoZero-based forward identifier position across types in requested order; repeat unchanged selectors. Inactive for reverse lookup.

Output Schema

NameRequiredDescriptionDefault
idsNoThis segment of answered types; consult typeTotals to distinguish empty evidence from IDs on another segment.
echoNoEffective crosswalk selectors.
typeNoExplicitly selected identifier system.
errorNoPresent when the call failed. Absent on success.
foundNoWhether WoRMS has the submitted taxon record or a reverse match; null when the forward status read failed.
noticeNoLinked accepted/preferred-AphiaID and partial-outage retry guidance, in that order.
recordNoReverse matched record only.
aphiaIdNoSupplied or matched taxon ID; null for reverse misses.
guidanceNoGuidance for missing taxa, answered types with zero identifiers, or reverse misses.
directionNoSelected crosswalk direction.
byteBudgetNoComplete serialized response byte target.
externalIdNoOpaque reverse identifier, preserved as text.
totalCountNoKnown local sequence length before pagination.
typeTotalsNoAnswered types only; zero means successful absence; failed types are omitted.
attributionNoWoRMS source attribution.
failedTypesNoFailed types in fixed vocabulary order.
statusErrorNoFailed taxonomic-status read; evidence is unaffected, but whether the AphiaID is its accepted name is unknown.
resultOffsetNoZero-based starting position in the complete local sequence.
budgetLimitedNoWhether the byte budget ended this local page early.
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.
nextResultOffsetNoNext local position; null when consumed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / found / description
      Previous value: -"Reverse match state; null in forward mode."New value: +"Whether WoRMS has the submitted taxon record or a reverse match; null when the forward status read failed."
    • changedOutput schema / properties / guidance / description
      Previous value: -"Guidance when no identifiers or reverse match are found."New value: +"Guidance for missing taxa, answered types with zero identifiers, or reverse misses."
    • changedOutput schema / properties / notice / description
      Previous value: -"Partial-outage retry guidance."New value: +"Linked accepted/preferred-AphiaID and partial-outage retry guidance, in that order."
    • addedOutput schema / properties / statusError
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Failed taxonomic-status read; evidence is unaffected, but whether the AphiaID is its accepted name is unknown.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC code.",
      +      "type": "number"
      +    },
      +    "message": {
      +      "description": "Safe failure message.",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "description": "Classified reason.",
      +      "type": "string"
      +    },
      +    "recovery": {
      +      "description": "Recovery guidance.",
      +      "type": "string"
      +    },
      +    "retryable": {
      +      "description": "Whether retry can succeed.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "reason",
      +    "code",
      +    "message",
      +    "recovery",
      +    "retryable"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld, and idempotent behavior, but the description adds substantial operational context: nextResultOffset resumption, typeTotals distinguishing absence from another segment, failed types remaining separate, ID opacity including leading zeros and LSIDs, and the warning that missing IDs do not establish taxon absence. It also clarifies that IUCN identifiers are not threat categories.

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

Conciseness5/5

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

The definition front-loads the core purpose and selector rule, then packs pagination, absence/failure distinctions, and ID semantics into a compact paragraph. Every sentence contributes operational detail, with no filler or repetition.

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

Completeness5/5

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

This is a complex crosswalk tool across nine identifier systems with reverse lookup and pagination, and the description covers the key selector rules, offset behavior, typeTotals distinctions, ID opacity, and the IUCN caveat. Since an output schema exists, return-field details need not be restated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds useful cross-parameter semantics: exactly one selector is allowed, type is required only for reverse lookup and omitted for forward lookup, and offset resumption must keep selectors unchanged. It also reinforces that IDs are opaque and that IUCN type values are identifiers rather than threat categories.

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?

The description opens with a specific verb and resource: crosswalking an AphiaID to external identifier systems, plus the reverse lookup from externalId to a taxon record. It clearly distinguishes forward and reverse modes and identifies worms_resolve_taxon as the source for AphiaID.

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?

It states the selector rules clearly: use exactly one selector, require type for reverse, and omit type on forward lookup to query all nine systems. It also points to worms_resolve_taxon for AphiaIDs and worms_list_reference for external_id_types, though it does not explicitly compare when to use this tool versus other taxon-detail siblings.

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.