check_sample_metadata
Validate ENA/BioSamples sample metadata for completeness and correct formatting, flagging missing required fields or optional project-specific attributes.
Instructions
Check whether an ENA/BioSamples sample's metadata is complete and well-formed.
Always checks the fields ENA requires on every sample (organism, collection date, geographic location). Flags fields that are absent, filled with an INSDC missing-value term (e.g. "not collected"), or badly formatted (collection date not ISO 8601).
Args: accession: BioSamples accession, e.g. "SAMEA7658521". extra_fields: Additional attributes to require, e.g. ["sex", "breed", "tissue"] for a livestock (FAANG-style) project.
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": {
"accession": "<accession>"
},
"name": "check_sample_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accession | Yes | ||
| extra_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| passed | Yes | ||
| summary | Yes | ||
| accession | Yes |