Skip to main content
Glama

pangenome_compare

Read-only

Genes whose presence frequency differs most between two groups of pangenome accessions (accession names from pangenome_accessions, 'form:' selectors such as 'form:Synthetic' or 'form:cauliflower', or ['all']). min_diff is the minimum absolute frequency difference (0-1); positive diff = more frequent in group_a. Datasets: 'bnapus' = B. napus pangenome (Darmor-bzh v8.1 plus 52 accessions, 94,013 genes; IDs like BnaA01g00010.1D2 for Darmor v8.1 genes and BnaPanG000163 for novel pangenome genes; chromosomes chrA01-chrA10, chrC01-chrC09); 'boleracea' = B. oleracea pangenome (TO1000 reference plus broccoli, Brussels sprouts, cabbage x2, cauliflower x2, kale, kohlrabi and B. macrocarpa; IDs Bo1g001000.1 = Ensembl Plants B. oleracea gene Bo1g001000, novel genes BOLEPAN_00000379.1; chromosomes C1-C9 of the BOL assembly). The dataset is detected from the gene ID, chromosome or accession names when not given. Accessions have a 'form': bnapus Oilseed (24), Synthetic (20, resynthesized from B. rapa x B. oleracea, with parents), Fodder (3), Vegetable (2), Swede (2), Elite (2); boleracea broccoli, cauliflower, cabbage, Brussels sprouts, kale, kohlrabi, reference line, wild relative.

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": {
      "group_a": "<group_a>",
      "group_b": "<group_b>"
    },
    "name": "pangenome_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
datasetNo
group_aYes
group_bYes
min_diffNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / properties / dataset / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / dataset / default
      Removed value: -null
    • removedInput schema / properties / dataset / title
      Removed value: -"Dataset"
    • addedInput schema / properties / dataset / type
      Added value: +"string"
    • removedInput schema / properties / group_a / title
      Removed value: -"Group A"
    • removedInput schema / properties / group_b / title
      Removed value: -"Group B"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / min_diff / title
      Removed value: -"Min Diff"
    • removedInput schema / title
      Removed value: -"pangenome_compareArguments"
  2. Changed6 schema fields changed
    • addedInput schema / properties / group_a / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / group_a / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / group_a / type
      Removed value: -"array"
    • addedInput schema / properties / group_b / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / group_b / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / group_b / type
      Removed value: -"array"
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With only readOnlyHint=true supplied, the description carries real weight and does: it discloses the automatic dataset inference ('detected from the gene ID, chromosome or accession names when not given'), the meaning of the min_diff threshold, and the direction of the reported difference. It does not explain result ordering or how the limit interacts with 'differs most', which is a remaining behavioral gap.

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 the two core parameter semantics are front-loaded in the first two sentences, with dataset/accession reference material following. Some of that reference material (gene counts such as 94,013, full chromosome lists, per-form accession tallies) is bulkier than strictly needed to call the tool, but it is still usable context rather than filler.

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 five-parameter tool with no output schema and minimal annotations, the description supplies the domain grounding (valid datasets, ID conventions, available forms) an agent needs to construct valid group_a/group_b values. What is missing is the result shape — whether genes come back ranked with per-group frequencies — and the effect of limit.

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 0%, so the description must compensate, and it largely does: group_a/group_b accepted formats (list, form selector, ['all']) and min_diff's range and sign are all spelled out, and the dataset param's default inference behavior is described. The limit parameter (default 100) is never mentioned, leaving one of five parameters undocumented in either place.

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 opening clause names a specific verb-like operation (find genes whose presence frequency differs most) and a specific resource (pangenome accessions grouped into two sets), with the sign convention ('positive diff = more frequent in group_a') making the direction of the comparison unambiguous. It also distinguishes itself from pangenome_accessions by naming it as the source for group members rather than duplicating its function.

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?

It gives concrete guidance on how groups may be supplied: accession names sourced from pangenome_accessions, 'form:<form>' selectors, or ['all'], which tells the agent exactly which input forms are valid. It does not explicitly say when to prefer this tool over a sibling like snp_compare_lines, so the routing case is implied by the frequency-vs-genotype distinction rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources