Skip to main content
Glama

get_mag

Retrieve detailed information about a single Metagenome-Assembled Genome (MAG) using its identifier.

Instructions

Retrieve detailed information about a single MAG (Metagenome-Assembled Genome) by its identifier.

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": {
      "id": "<id>"
    },
    "name": "get_mag"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMAG identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Retrieve' signals a read-only fetch, but it says nothing about what 'detailed information' includes, what happens when the ID does not exist, or how large the response is for this tool with no output schema.

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?

One front-loaded sentence with zero filler, and the acronym expansion is a useful clarification rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool this is close to sufficient, but with no annotations and no output schema, the description should indicate what 'detailed information' means and note behavior for missing IDs. As written, an agent must call it blind to learn the response shape.

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 description coverage is 100%, so the single 'id' parameter is already documented as a 'MAG identifier'. The description adds only the redundant phrase 'by its identifier' and gives no format hints (e.g. accession-like strings) beyond the schema.

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 definition pairs a specific verb (Retrieve) with a specific resource (a single MAG) and even expands the acronym, so an agent knows exactly what it fetches. The phrase 'by its identifier' implicitly contrasts it with the sibling search_mags, but that contrast is never stated outright.

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

Usage Guidelines3/5

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

Usage is only implied: when you already have a MAG ID, call this rather than search_mags. There is no explicit statement of when to prefer this over search_mags, no prerequisite or error-handling guidance for unknown identifiers, and no exclusions.

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