Skip to main content
Glama

load_record

Read-only

Read a CHOSEN project document as a record — the pipeline's data-reader source, for running on a specific file instead of whatever happens to be open in the editor. Wire its record into any downstream node's $subject.

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.
documentYesthe project document to read — its id, or its exact name (`list_library` lists them).

Output Schema

NameRequiredDescriptionDefault
nameYesdocument name
lengthYeslength in bp
recordYesthe chosen document as a record (subject for downstream nodes)
circularYestopology (true = circular)
sequenceYesthe sequence 5'→3'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / length / x-unit
      Added value: +"bp"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, non-destructive operation. The description adds meaningful pipeline behavior beyond that: it is a data-reader source and its `record` output is intended to be wired into downstream nodes.

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?

Two tight sentences with the primary purpose and usage contrast front-loaded. Every sentence carries useful information: what to read, when to use it, and how to connect its output downstream.

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?

The tool has an output schema, rich annotations, and full schema parameter coverage, so the description need not explain the return shape. It adequately explains the tool's role in the pipeline, though it could say more about failure behavior or document lookup requirements.

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 schema already documents the parameters and nested `_subject` structure thoroughly. The description mentions the chosen document and the resulting `record`, but does not add parameter-specific syntax or selection rules beyond the schema.

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 description states a specific verb and resource: reading a chosen project document as a record. It also distinguishes the tool from the implicit alternative of using whatever is currently open in the editor, which is exactly the sibling differentiation an agent needs.

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 clear usage context: use this when running on a specific chosen file rather than the editor's currently open document, and wire the resulting `record` into downstream `$subject`. It stops short of naming explicit alternative tools or exclusions, so it is not a full 5.

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