Skip to main content
Glama

igem_search_parts

Search iGEM Registry parts and rank results by real-world usage instead of the API's newest-first order. Use role filters and direct part-name lookup to find widely reused BioBricks.

Instructions

Search the iGEM Registry, ranked by how widely each part is actually used.

The Registry API ignores sort parameters and always returns newest-first, so ranking happens client-side over a bounded scan. Check ranking_covers_all_matches in the result: when false, the ranking covers only the most recent scanned of total_matches_in_registry parts, and an older well-used part may lie beyond it. Report that caveat to the user rather than presenting a partial ranking as definitive.

A query naming a specific part (e.g. BBa_E0040) is resolved directly and returned first, because the search endpoint does not reliably match names.

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

Input Schema

NameRequiredDescriptionDefault
roleNoOptional role filter, e.g. Promoter, CDS, Terminator, Ribosome Entry Site
limitNoResults to return (1-50)
queryYesFree-text query, e.g. 'GFP' or 'arabinose promoter'
sort_byNo'usage' ranks by how often a part is reused (default); 'newest' keeps the API orderusage
max_pagesNoPages of 100 to scan before ranking (1-20). Raise for broad queries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so unusually well: it discloses that the Registry API ignores sort parameters and always returns newest-first, that ranking therefore happens client-side over a bounded scan, and that results may be partial. It also explains the name-resolution workaround because 'the search endpoint does not reliably match names' — a genuine upstream limitation an agent could not otherwise know.

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?

Three short paragraphs, front-loaded on what the ranking means, then the caveat the agent must relay, then the name-query exception. No filler sentences, and the most decision-relevant information (partial coverage) sits before the edge case.

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?

There is no output schema, yet the description surfaces the specific result fields an agent must interpret (`ranking_covers_all_matches`, `scanned`, `total_matches_in_registry`) and tells it how to act on them. Remaining gaps — full result shape, rate limits, auth — are minor for a read-only registry search but keep it short of a 5.

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 real meaning: it explains why sort_by='usage' involves a bounded scan and why max_pages exists (broad queries need a deeper scan), which the schema only states tersely. It also clarifies query semantics by noting that a part-name query is resolved directly rather than through the flaky search endpoint.

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 names a specific verb and resource ('Search the iGEM Registry') and adds a distinctive qualifier ('ranked by how widely each part is actually used'), so an agent immediately knows this is a ranked search, not an exact lookup. It even carves out the exact-lookup case ('a query naming a specific part ... is resolved directly'), which implicitly separates it from igem_get_part without naming that sibling.

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?

Guidance is concrete: use it for ranked search, raise max_pages for broad queries (schema text), and report the partial-ranking caveat to the user instead of presenting it as definitive. It does not explicitly state when to prefer igem_get_part for a known part ID, so the routing rule is implied rather than spelled out.

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