Skip to main content
Glama
idss-mesa

neon-mcp

by idss-mesa

Get a NEON sample

neon_get_sample
Read-onlyIdempotent

Trace a sample's custody chain: get identifiers, custody events, parents, and children. Look up by tag, UUID, barcode, or archive GUID, and expand to relatives by degree.

Instructions

A physical sample's custody chain (NEON API token required): identifiers, events with their field values, parents and children; degree=N adds relatives N steps away. Identify it by tag (+class), UUID, barcode or archive GUID; an ambiguous tag asks which class (MRTR) or lists candidates. Next: follow parent or child identifiers with another neon_get_sample call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
degreeNoAlso return relatives up to this many degrees away.
fieldsNoKeep only these smsKey fields in events.
offsetNo
barcodeNoSample barcode.
sample_tagNoSample tag (use with sample_class when it is ambiguous).
sample_uuidNoSample UUID.
archive_guidNoBiorepository archive GUID.
events_limitNo
sample_classNoSample class of the tag, e.g. bet_IDandpinning_in.individualID.
include_eventsNoInclude custody events (field entries folded into objects).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
itemsYes
notesNo
degreeNo
sourceNo
resolvedNo
nextStepsNo
identifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds substantial behavioral context beyond annotations: an API token is required, ambiguous tags trigger class disambiguation or candidate listing, and degree=N extends the result to relatives N steps away. This enriches the agent's mental model of the operation.

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 description is one dense but well-organized paragraph that front-loads the core purpose, then covers identifiers, degree behavior, and next-step guidance. Every clause earns its place, though a bit of restructuring into separate sentences would improve scanability.

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?

Given the tool's 11 parameters, an output schema, and strong annotations, the description covers the essential invocation logic: what a sample is, how to identify it, how degree works, and how to traverse the graph. It does not explain events_limit, limit, or offset, but those are minor pagination controls already structured in the schema.

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 73%, and the schema describes fields like degree, fields, barcode, sample_tag, and include_events. The description adds value by grouping identifiers into alternative lookup paths (tag+class, UUID, barcode, archive GUID) and explaining that degree controls relative expansion. It does not clarify pagination parameters like limit and offset, but the schema covers those with defaults and ranges.

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 names a specific verb ('get') and a specific resource ('a physical sample's custody chain'), and clearly differentiates this from sibling tools like neon_get_site or neon_get_product by stating it returns identifiers, events, and parent/child relationships. It also enumerates the exact identifier types accepted, which leaves no ambiguity about what the tool operates on.

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?

The description gives clear context for when to call the tool: when you need a custody chain and can identify the sample by tag, UUID, barcode, or archive GUID. It also explains how to continue traversal ('follow parent or child identifiers with another neon_get_sample call'), though it does not explicitly name alternative tools or state when not to use it.

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