Skip to main content
Glama

cancer_studies

Search NCI GDC or cBioPortal cancer genomics studies by free-text query and retrieve study IDs, cancer types, sample counts, and citation details for research discovery.

Instructions

Search cancer genomics studies in GDC or cBioPortal.

source="gdc" searches NCI GDC projects by id/name/primary site/ disease type; source="cbioportal" searches cBioPortal study names and descriptions. Both return study id, name, cancer type/site, sample count and citation fields where available. Empty results are count: 0; only upstream fields are returned, missing fields are omitted, nothing is inferred or completed. Failures return an error dict (error, source).

Args: query: Free-text study/project search term. source: "gdc" or "cbioportal". limit: Studies to return, 1-50 (default 10).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
sourceNogdc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers: it names the returned fields (study id, name, cancer type/site, sample count, citation), the empty-result shape (count: 0), the missing-field convention (omitted, nothing inferred or completed), and the error dict with error and source keys. It omits any statement about rate limits, authentication, or pagination beyond the limit cap, which keeps it short of a 5.

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 core action and the two source modes, then a compact block on returns and errors, then an Args list. Every element is relevant, though the sentence enumerating return fields partially duplicates what the Args section and output would imply; it still earns its place given the absence of an output schema.

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?

For a three-parameter, read-only search tool with no annotations and no output schema, the definition covers purpose, per-source behavior, parameter meanings, result shape, empty results, and error format. What is missing is any note on result ordering, matching semantics, or upstream unavailability, which would matter when search terms return unexpectedly large or zero sets.

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 description coverage is 0% and there are no enums in the schema, so the description has to do the work and largely does: query is defined as a free-text study/project term, source is limited to "gdc" or "cbioportal" with the searchable fields per source, and limit is bounded at 1-50 with a default of 10. Remaining gap is minor — no guidance on how the query string is matched (exact vs substring, case sensitivity).

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 ("Search cancer genomics studies") and immediately scopes it to two named upstreams, GDC and cBioPortal. A reader can distinguish it from siblings like clinical_trials or geo_datasets because the sources are named explicitly, though no sibling is called out by name.

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?

Gives clear context for each mode: source="gdc" searches projects by id/name/primary site/disease type, while source="cbioportal" searches study names and descriptions. That tells an agent which source to pick based on the term it has, but there are no explicit when-not conditions and no stated alternatives among the sibling tools.

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