Skip to main content
Glama

Resolve Mouse Marker

resolve_marker
Read-onlyIdempotent

Resolve mouse marker references—symbols, synonyms, MGI IDs, or human genes/HGNC IDs—to canonical MGI records, with ambiguous matches reported via candidate lists.

Instructions

Resolve any mouse marker reference to its canonical MGI record. Accepts a mouse symbol (current or synonym, case-insensitive), an MGI id (MGI:98968 or 98968), OR a human gene symbol / HGNC id (resolved to the mouse ortholog). Returns {mgi_id, symbol, name, marker_type, match_type (mgi_id|current|synonym|ortholog)}. An ambiguous symbol returns an ambiguous_query error with the candidate list (not silently picked). A human symbol identical to the mouse symbol resolves as match_type=current (case collision) rather than ortholog; the marker is the same. Signature: resolve_marker(query, response_mode=).

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": {
      "query": "<query>"
    },
    "name": "resolve_marker"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA mouse marker symbol (current or synonym, case-insensitive), an MGI id (MGI:98968 or 98968), or a human gene symbol / HGNC id / NCBIGene:<id> for the ortholog. A human Ensembl id (ENSG...) is rejected: convert it with hgnc_resolve_symbol first.
response_modeNoVerbosity: minimal | compact | standard | full (default compact).compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.1
    • changedInput schema / properties / query / description
      Previous value: -"A mouse marker symbol (current or synonym, case-insensitive), an MGI id (MGI:98968 or 98968), or a human gene symbol / HGNC id for the ortholog."New value: +"A mouse marker symbol (current or synonym, case-insensitive), an MGI id (MGI:98968 or 98968), or a human gene symbol / HGNC id / NCBIGene:<id> for the ortholog. A human Ensembl id (ENSG...) is rejected: convert it with hgnc_resolve_symbol first."
  2. Changed1 schema field changedv0.6.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "_meta": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "allowed_values": {
      -      "type": "array"
      -    },
      -    "candidates": {
      -      "type": "array"
      -    },
      -    "error_code": {
      -      "type": "string"
      -    },
      -    "feature_type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "field": {
      -      "type": "string"
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "location": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "marker_type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "match_type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "mgi_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "query": {
      -      "type": "string"
      -    },
      -    "recovery_action": {
      -      "type": "string"
      -    },
      -    "retryable": {
      -      "type": "boolean"
      -    },
      -    "success": {
      -      "type": "boolean"
      -    },
      -    "symbol": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), yet the description still adds real behavior: the exact return fields, the match_type taxonomy, that ambiguous symbols raise an ambiguous_query error with candidates rather than silently picking one, and the case-collision quirk where a human symbol equal to the mouse symbol resolves as current. That is substantive edge-case disclosure an agent could not infer from annotations.

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?

Front-loaded with the purpose, then inputs, then return shape, then error/edge behavior — a sensible order with little waste. The trailing 'Signature: resolve_marker(query, response_mode=)' line is redundant filler, and the input formats are repeated from the schema.

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?

There is no output schema, and the description supplies the return object's fields and match_type values, plus the failure mode for ambiguity. For a two-parameter read tool that is everything an agent needs to call it and interpret the result.

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 schema already lists the accepted formats, the Ensembl rejection, and the response_mode enum with default. The description largely restates the query formats and adds only the ortholog-resolution intent, so baseline 3 is appropriate.

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?

States a specific verb and resource ('Resolve any mouse marker reference to its canonical MGI record') and enumerates the accepted identifier types, which functionally sets it apart from get_marker and search_markers. It stops short of naming a sibling or explicitly contrasting its role, so it is clear but not fully differentiated.

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?

Implicitly defines the use case (turn any symbol/ID/ortholog reference into an MGI record) and gives one explicit exclusion with a redirect: human Ensembl ids are rejected and should go through hgnc_resolve_symbol first. It does not say when to prefer this over get_marker or search_markers, which is the main gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.