Skip to main content
Glama

Search Molecular Profiles

search_molecular_profiles
Read-only

Find CIViC molecular profiles from a gene-variant pair, CAID, ClinVar variation ID, or HGVS query and separate simple from complex profiles with evidence counts.

Instructions

Find CIViC molecular profiles (what evidence attaches to) for a gene + variant name (BRAF V600E), a ClinGen CAID (CA123643), a ClinVar variation ID (376069) or an HGVS string, and return exact_match (the single-variant profile) plus simple and complex lists kept apart: a complex profile (V600E AND MSI Low) only applies to that combination. Each row: id, name, evidence counts; simple_total and complex_total count the whole result. Start here. Signature: search_molecular_profiles(query, limit=, offset=).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax profiles (default 25, max 100).
queryYesGene + variant, CAID, ClinVar variation ID or HGVS.
offsetNoRows to skip; use the previous `next_offset`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply readOnlyHint and openWorldHint, so the description carries the result-shape burden and does so: exact_match, separated simple and complex lists, per-row id/name/evidence counts, and simple_total/complex_total. The rationale for keeping complex profiles apart is genuinely useful behavioral context. Minor gap: no statement about what an empty result looks like or how next_offset surfaces.

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?

The purpose and result semantics are front-loaded in a dense but readable opening, and every clause about exact_match vs simple vs complex earns its place. The trailing "Signature: search_molecular_profiles(query, limit=, offset=)" is pure duplication of the input schema and is the one wasted line.

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?

With no output schema, the description correctly spends its budget explaining return structure and totals, which is exactly what an agent needs. For a 3-parameter read-only search this is close to complete; only edge behavior (no matches, pagination continuation) is left unstated.

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 coverage is 100% and the schema already documents query, limit (default 25, max 100), and offset (use previous next_offset). The description's example identifiers largely restate the schema's own description and examples, adding little new meaning. Baseline 3 applies since the schema does the heavy lifting.

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?

States a specific verb and resource (find CIViC molecular profiles) and immediately clarifies the abstraction with a parenthetical (what evidence attaches to). It enumerates the four accepted query identifier forms with concrete examples, so an agent can tell this apart from get_molecular_profile or search_evidence_items without opening a schema.

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?

"Start here" gives an explicit entry-point instruction, which is meaningful guidance among the listed siblings. It also warns that a complex profile only applies to that exact combination, steering interpretation. It stops short of naming get_molecular_profile as the follow-up for full detail, so the when-not/what-next half is only implied.

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