Skip to main content
Glama

Search Markers

search_markers
Read-onlyIdempotent

Search mouse marker symbols, names, and synonyms by free text to identify MGI markers, with exact symbol or synonym matches pinned above relevance-ranked results.

Instructions

Free-text search over mouse marker symbols, names, and synonyms (FTS, relevance-ranked); returns ranked {mgi_id, symbol, name, marker_type, score, match} summaries. Exact symbol/synonym hits are PINNED first (match: exact_symbol|exact_synonym|fts) so an exact gene is never buried under transgenes or lncRNAs. Returns a truncation contract {total, returned, limit, truncated}; when truncated, next_commands includes a widen step. marker_type optionally restricts to a type (e.g. 'Gene'). Nomenclature-only: no phenotype semantics — use search_phenotype_terms + find_markers_by_phenotype for phenotype-driven discovery, or resolve_marker for an exact symbol/id. Signature: search_markers(query, marker_type=, limit=, 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": "search_markers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax hits (default 25).
queryYesFree-text query (symbol fragment, name, synonym).
marker_typeNoOptional exact marker-type filter (case-insensitive). One of the MGI marker types; an unrecognised value is rejected with invalid_input.
response_modeNoVerbosity: minimal | compact | standard | full (default compact).compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.6.0
    • changedInput schema / properties / marker_type / description
      Previous value: -"Optional marker type filter, e.g. 'Gene'."New value: +"Optional exact marker-type filter (case-insensitive). One of the MGI marker types; an unrecognised value is rejected with invalid_input."
    • addedInput schema / properties / marker_type / enum
      Added value: +[
      +  "Gene",
      +  "Pseudogene",
      +  "DNA Segment",
      +  "QTL",
      +  "Cytogenetic Marker",
      +  "BAC/YAC end",
      +  "Complex/Cluster/Region",
      +  "Transgene",
      +  "Other Genome Feature",
      +  "GeneModel"
      +]
    • addedInput schema / properties / marker_type / examples
      Added value: +[
      +  "Gene",
      +  "Pseudogene"
      +]
    • addedInput schema / properties / query / examples
      Added value: +[
      +  "Pax6",
      +  "kidney",
      +  "Hox"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "_meta": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "allowed_values": {
      -      "type": "array"
      -    },
      -    "candidates": {
      -      "type": "array"
      -    },
      -    "error_code": {
      -      "type": "string"
      -    },
      -    "field": {
      -      "type": "string"
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "limit": {
      -      "type": "integer"
      -    },
      -    "marker_type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "query": {
      -      "type": "string"
      -    },
      -    "recovery_action": {
      -      "type": "string"
      -    },
      -    "results": {
      -      "type": "array"
      -    },
      -    "retryable": {
      -      "type": "boolean"
      -    },
      -    "returned": {
      -      "type": "integer"
      -    },
      -    "success": {
      -      "type": "boolean"
      -    },
      -    "total": {
      -      "type": "integer"
      -    },
      -    "truncated": {
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses the relevance-ranking model, the exact-hit pinning rule with the match enum values, and the truncation contract including that next_commands carries a widen step. The only gap is that it doesn't discuss result ordering/pagination mechanics in more depth, but the key behaviors an agent must anticipate are covered.

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?

Dense and front-loaded — search semantics first, then the contract, then routing alternatives. Information density is high, though the trailing signature line largely repeats the schema and could be dropped without loss.

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?

With no output schema, the description supplies the return shape ({mgi_id, symbol, name, marker_type, score, match}), the truncation contract, and the invocable signature. Nothing an agent needs to call it correctly appears to be missing.

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; the description earns above baseline by tying limit to the truncation contract {total, returned, limit, truncated} and by explaining that marker_type restricts to an exact MGI type. It still restates response_mode only via the signature without added meaning.

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 names a specific verb and resource ('Free-text search over mouse marker symbols, names, and synonyms') and immediately states the mechanism (FTS, relevance-ranked), so it is unmistakably distinct from resolve_marker (exact lookup) and the phenotype siblings it explicitly names.

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

Usage Guidelines5/5

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

It gives explicit when-not guidance ('Nomenclature-only: no phenotype semantics') and routes the agent to the correct alternatives — search_phenotype_terms + find_markers_by_phenotype for phenotype-driven discovery, resolve_marker for an exact symbol/id. Both the use case and the exclusions are spelled out.

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