Skip to main content
Glama

describe_discovery_corpus

Read-only

The design step's view of a discovery corpus: each record's name, file, length and GC fraction, and how many records each file holds.

Input Schema

NameRequiredDescriptionDefault
_filesNoThe project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name.
_subjectNoThe record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several.
sequencesNothe corpus: library document or file names, or wired records.

Output Schema

NameRequiredDescriptionDefault
filesYesevery file with its record count and total length
recordsYesevery record: name, file, length, GC fraction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that this is a metadata view of a corpus, but it does not discuss prerequisites, data freshness, pagination, or whether the corpus must already be loaded.

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 definition is a single front-loaded sentence with no filler. The only slight weakness is the abstract phrase 'design step's view,' which is compact but less immediately operational than a direct verb phrase.

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?

With an output schema present and full schema description coverage, the description need not restate return values or parameter details. However, it gives little workflow context beyond 'design step' and does not explain what happens when optional inputs are omitted.

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%, and the schema richly documents _files, _subject, and sequences, so parameter meaning is already carried by structured data. The description does not map its returned fields to those inputs or clarify their roles, making the baseline 3 appropriate.

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 gives a specific resource, a discovery corpus, and states the returned content: record name, file, length, GC fraction, and per-file record counts. It is distinguishable from generic project-description siblings by the 'discovery corpus' scope, though it does not explicitly name an alternative.

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

Usage Guidelines2/5

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

The phrase 'The design step's view' only weakly implies context; there is no explicit when-to-use guidance, no exclusions, and no comparison to related tools such as describe_project or record_composition.

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