accueil / serveurs / Dev & Code / io.github.cyanheads/brapi-mcp-server
io.github.cyanheads/brapi-mcp-server
serveur MCP (Model Context Protocol) · brapi-mcp-server 0.10.1
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.cyanheads/brapi-mcp-server est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.cyanheads/brapi-mcp-server » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 22 outils
- brapi_build_phenotype_matrix≈ 3160 tokens
Pull observations across one or more studies and pivot them into a germplasm × trait matrix materialized as a canvas dataframe. Returns a dataframe handle (read it with brapi_dataframe_describe and brapi_dataframe_query) plus a summary of dimensions and aggregate method. Long-form output is suitable for downstream GROUP BY analysis by study, germplasm, or variable. A study whose pull fails is named in warnings and the rest still build the matrix; the call fails only when every study failed.
Paramètres, retour & exemple (8)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.shape· string · optionnel · wide | long
Matrix shape. `wide` — one row per germplasm, one column per variable, cell = aggregated value. `long` — one row per observation with columns: germplasmDbId, observationVariableDbId, studyDbId, value, replicateIndex. When `aggregate:"all"` is combined with `shape:"wide"`, the output falls back to long form with a replicateIndex column.studies· array · requis
studyDbIds to include in the matrix. At least one is required — the tool is study-anchored to avoid full-table scans.aggregate· string · optionnel · mean | median | first | all
How to aggregate replicate observations (multiple readings of the same variable on the same germplasm). `mean` and `median` attempt numeric conversion and skip non-numeric values (e.g. categorical traits). `first` keeps the first value seen. `all` keeps every replicate as a separate row (produces long-form output even when shape is "wide"). Default: `mean`.germplasm· array · optionnel
Optional subset of germplasmDbIds to include. Omit to include all germplasm found in the queried studies.loadLimit· integer · optionnel
Cap on matching observations collected per study. Omit for the deployment default. A study that stops at it is reported as truncated.variables· array · optionnel
Optional subset of observationVariableDbIds to include. Omit to include all variables found in the queried studies.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.
Exemple d'appel{"name": "brapi_build_phenotype_matrix", "arguments": {"studies": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shape": "wide", "shown": 1, "notice": "texte", "studies": [], "coverage": {}, "warnings": [], "aggregate": "mean", "dataframe": {}, "truncated": true}} - brapi_connect≈ 3514 tokens
Open a connection to a BrAPI v2 server, authenticate, and return the full orientation envelope (server identity, capability profile, content summary, suggested next tools). Other BrAPI tools connect an alias the server has a URL configured for (a built-in or operator-configured alias, or `default` on a deployment with a default server) on first use; call this to connect any other server by `baseUrl`, to pass `auth`, or to re-point an alias. Supports multiple concurrent connections via named aliases. Credentials can be configured server-side and omitted from this call. When a request carries no MCP session on a deployment without per-user auth, aliases live in one namespace shared by every such caller: re-registering an alias re-points their later calls to it. Built-in known servers (callable with no `baseUrl` or `auth` — public BrAPI v2 endpoints): `bti-breedbase-demo`, `bti-cassava`, `bti-sweetpotato`. Operator-configured aliases on this deployment (credentials and/or baseUrl read from server env vars): `default`, `cassava`. Aliases are shortcuts only; any other BrAPI v2 server is reachable by passing `baseUrl` directly.
Paramètres, retour & exemple (3)
Paramètresauth· ? · optionnel
Auth payload. Omit to use credentials configured server-side for this alias (or no auth when none are configured).alias· string · optionnel
Alias for this connection. Use distinct aliases to register multiple BrAPI servers in one session.baseUrl· string · optionnel
BrAPI v2 base URL (absolute URL) including any path prefix — e.g. https://test-server.brapi.org/brapi/v2. Omit to use the configured default for this alias.
Exemple d'appel{"name": "brapi_connect", "arguments": {"auth": "texte", "alias": "texte", "baseUrl": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"auth": {}, "alias": "texte", "error": {}, "notes": [], "server": {}, "baseUrl": "texte", "content": {}, "dialect": {}, "fetchedAt": "texte", "attribution": {}, "capabilities": {}, "nextToolSuggestions": []}} - brapi_dataframe_describe≈ 1060 tokens
Start here after a spillover. Lists dataframes (or describes one) with columns, row counts, and originating-source provenance. The dataframe name appears inline on every find_* response that spilled (`result.dataframe.tableName`) — pass it as `dataframe` to inspect schema and provenance before writing the first brapi_dataframe_query. On a shared HTTP endpoint without per-caller auth, listing without a name is available only where each MCP session has its own workspace, and never to a request without a session; pass a known name instead.
Paramètres, retour & exemple (1)
Paramètresdataframe· string · optionnel
When set, return only the named dataframe. Omit to list all dataframes.
Exemple d'appel{"name": "brapi_dataframe_describe", "arguments": {"dataframe": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"error": {}, "tables": []}} - brapi_dataframe_query≈ 1571 tokens
Run SQL across in-memory dataframes. Dataframes auto-populate when find_* tools spill (named `df_<uuid>`) — the dataframe name appears inline on every find_* response that spilled (`result.dataframe.tableName`), so the typical flow is find_* → read the name → query here. Use brapi_dataframe_describe to inspect schema and provenance for a known name. SELECT only — writes/DDL/COPY/PRAGMA/ATTACH/file-reads are rejected. Use SQL as the paging idiom: `LIMIT/OFFSET` to walk results, projection to trim columns, aggregation to summarize. Use `registerAs` to chain — the result lands as a new dataframe.
Paramètres, retour & exemple (4)
Paramètressql· string · requis
SELECT statement against dataframes. Single statement only — writes, DDL, DESCRIBE / SUMMARIZE, file reads, and exports are rejected. Use brapi_dataframe_describe to discover available dataframes. SQL is the primary paging idiom: use `LIMIT/OFFSET` to walk a large dataframe, projection to trim columns, and aggregation (`COUNT`, `GROUP BY`, `AVG`) to summarize without materializing every row.preview· integer · optionnel
Cap the number of rows returned in this response. A value above `rowLimit` (or, when `rowLimit` is omitted, above the deployment-wide response cap) returns rows up to that ceiling. When omitted, the ceiling applies. Lower this with `registerAs` when you only need a sample to verify the query.rowLimit· integer · optionnel
Hard cap on rows materialized into the response, bounded by the deployment-wide response cap. For larger result sets, use `registerAs` to keep the full result queryable instead of raising this.registerAs· string · optionnel
Persist the full result as a new dataframe under this name. The response is bounded by preview and a 24,000-byte row budget. Conflicts fail — choose a different name, or remove the existing dataframe with brapi_dataframe_drop where this deployment enables it. Identifier rules: letters, digits, and underscores; must start with a letter or underscore; max 63 characters.
Exemple d'appel{"name": "brapi_dataframe_query", "arguments": {"sql": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "rows": [], "error": {}, "shown": 1, "notice": "texte", "columns": [], "rowCount": 1, "dataframe": "texte", "truncated": true}} - brapi_describe_filters≈ 825 tokens
List the valid filter names for a BrAPI endpoint (studies, germplasm, observations, variables, images, variants, locations) — companion lookup for the `extraFilters` passthrough on any `find_*` tool. Entries reflect the BrAPI v2.1 spec; individual servers may implement subsets.
Paramètres, retour & exemple (1)
Paramètresendpoint· string · requis · germplasm | images | locations | observations | studies | variables | variants
BrAPI endpoint to describe filters for.
Exemple d'appel{"name": "brapi_describe_filters", "arguments": {"endpoint": "germplasm"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"error": {}, "filters": [], "endpoint": "texte", "filterCount": 1, "specReference": "texte", "availableEndpoints": []}} - brapi_export_genotype_matrix≈ 2540 tokens
Pull genotype calls for a germplasm × variant set and pivot them into a matrix. `matrix-json` registers a wide canvas dataframe; `vcf-lite` adds VCF-subset text in `vcf`; `plink` adds .ped/.map text in `ped`/`map`. Text formats pull /variants metadata and convert zero-based BrAPI start to one-based positions; missing/invalid positions use `.`/`0`. Read the dataframe with brapi_dataframe_describe and brapi_dataframe_query (SQL). `variantColumnLegend` maps SQL-safe columns to original variant IDs.
Paramètres, retour & exemple (6)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.format· string · requis · plink | vcf-lite | matrix-json
Output format. `matrix-json` registers a wide canvas dataframe only. `vcf-lite` returns VCF-subset text and registers the dataframe. `plink` returns .ped/.map text and registers the dataframe.maxCalls· integer · optionnel
Lower the pull cap for this call. Omit to use the deployment ceiling. Cannot raise it: a value above the deployment ceiling is clamped down to it and the effective cap is reported in `warnings`.maxColumns· integer · optionnel
Lower the distinct-variant column cap for this call. Omit to use the deployment ceiling. Cannot raise it: a value above the deployment ceiling is clamped down to it. When the variant set resolves more distinct variants than the effective cap, the matrix is capped at that many variant columns, `truncated` is set, and the effective cap is reported in `warnings`. Independent of `maxCalls`, which bounds the row (call) pull.germplasmDbIds· array · optionnel
Restrict to these germplasm. Omit to pull all germplasm in the variant set (use with caution on large sets).variantSetDbId· string · requis
Variant set to pull calls for. Required. List variant sets with brapi_raw_get({ path: "/variantsets" }) — add params.studyDbId to narrow to one study or genotyping project — and read variantSetDbId from the rows.
Exemple d'appel{"name": "brapi_export_genotype_matrix", "arguments": {"format": "plink", "variantSetDbId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"map": "texte", "ped": "texte", "vcf": "texte", "alias": "texte", "error": {}, "format": "plink", "notice": "texte", "rowCount": 1, "warnings": [], "dataframe": {}, "truncated": true, "columnCount": 1}} - brapi_find_genotype_calls≈ 3093 tokens
Pull genotype calls for a germplasm × variant set. Filter to bound cost — at minimum, set `variantSetDbId` or `germplasmDbIds`. The upstream pull is capped by deployment policy; when the pull is truncated, narrow the filters. results[] holds the leading calls up to `loadLimit` and a 24,000-byte budget; when it holds fewer than were collected, every collected call is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL) instead of paging row-by-row.
Paramètres, retour & exemple (8)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.loadLimit· integer · optionnel
Cap on rows returned inline. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any call was collected. When results[] holds fewer rows than were collected, every collected call lands in a dataframe — query it with brapi_dataframe_query (SQL) for the rest. Upstream pageSize is fixed for genotype calls, so this knob only affects the inline preview here (no spillover capacity tradeoff).callFormat· string · optionnel · VCF | FLAPJACK | DARTSEQ | JSON
Requested call-encoding format, when the server honors it.callSetDbIds· array · optionnel
Restrict to these call sets directly.variantDbIds· array · optionnel
Restrict to specific variants.germplasmDbIds· array · optionnel
Restrict to these germplasm (call sets).variantSetDbId· string · optionnel
Scope calls to a single variant set. Strongly recommended. List variant sets with brapi_raw_get({ path: "/variantsets" }) — add params.studyDbId to narrow to one study or genotyping project — and read variantSetDbId from the rows.variantSetDbIds· array · optionnel
Alternative: multiple variant sets at once, found the same way.
Exemple d'appel{"name": "brapi_find_genotype_calls", "arguments": {"alias": "texte", "loadLimit": 1, "callFormat": "VCF", "callSetDbIds": [], "variantDbIds": [], "germplasmDbIds": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_germplasm≈ 3449 tokens
Find germplasm by name, synonym, accession number, PUI, crop, or free-text query. Matches across registered synonyms. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL) instead of paging row-by-row.
Paramètres, retour & exemple (13)
Paramètrestext· string · optionnel
Free-text query. Applied client-side as a case-insensitive substring match on germplasmName, germplasmPUI, accessionNumber, defaultDisplayName, and registered synonyms — no BrAPI server reliably supports a server-side free-text filter. Every upstream row is scanned when the filtered set fits one dataframe walk; above that, a miss on the first page stops the scan, and the warnings report how many rows were checked. Combine with `crops` / `genus` / etc. to narrow the upstream pull first.alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.crops· array · optionnel
Filter by common crop names.genus· string · optionnel
Botanical genus.names· array · optionnel
Filter by germplasm display names.species· string · optionnel
Botanical species.synonyms· array · optionnel
Match registered synonyms.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.collections· array · optionnel
Filter by germplasm collection names.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.germplasmPUIs· array · optionnel
Persistent unique identifiers.germplasmDbIds· array · optionnel
Filter by DbIds.accessionNumbers· array · optionnel
Filter by accession numbers (gene-bank catalog codes).
Exemple d'appel{"name": "brapi_find_germplasm", "arguments": {"text": "texte", "alias": "texte", "crops": [], "genus": "texte", "names": [], "species": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_images≈ 3174 tokens
Filter images by observation unit, observation, study, descriptive ontology term, file name, or MIME type. Returns metadata only — use brapi_get_image to fetch bytes inline. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (10)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.images· array · optionnel
Filter by imageDbIds.studies· array · optionnel
Filter by studyDbIds.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.mimeTypes· array · optionnel
Filter by MIME type — e.g. "image/jpeg", "image/png".extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.observations· array · optionnel
Filter by observationDbIds.imageFileNames· array · optionnel
Filter by uploaded file name.observationUnits· array · optionnel
Filter by observationUnitDbIds.descriptiveOntologyTerms· array · optionnel
Filter by ontology tags (e.g. "CO_334:plot").
Exemple d'appel{"name": "brapi_find_images", "arguments": {"alias": "texte", "images": [], "studies": [], "loadLimit": 1, "mimeTypes": [], "extraFilters": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_locations≈ 3436 tokens
Find research stations / field sites by country, abbreviation, type, location ID, or free-text. Countries filter by ISO 3166-1 alpha-3 code via countryCodes, or by free-form English country name via countryNames (resolved client-side to alpha-3 — "Uganda" → "UGA"). Optional bbox parameter restricts rows to a latitude/longitude window. When no first-page row falls inside it under the spec GeoJSON [lon, lat, alt] reading and a row carries a Point geometry, bbox is retried with axes swapped; if that matches, the swapped reading is used (non-conformant servers store [lat, lon, alt]) with a warning and `coordinateAxisOrder: "swapped"`. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (10)
Paramètresbbox· object · optionnel
Optional post-fetch bounding box. Nonempty boxes require all four bounds with minimum <= maximum; malformed boxes fail. An empty object is omitted.alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.locations· array · optionnel
Filter by locationDbIds.countryCodes· array · optionnel
Country codes; alphabetic codes are uppercased, numeric upstream codes are preserved.countryNames· array · optionnel
English country names or aliases (e.g. "Uganda", "United States", "USA") resolved to alpha-3 codes and merged into countryCodes. Unresolved names warn when another effective country restriction remains; otherwise the call fails. Prefer countryCodes when known.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.abbreviations· array · optionnel
Short location abbreviations.locationNames· array · optionnel
Filter by display name.locationTypes· array · optionnel
Location type — e.g. "Research Station", "Field".
Exemple d'appel{"name": "brapi_find_locations", "arguments": {"bbox": {}, "alias": "texte", "loadLimit": 1, "locations": [], "countryCodes": [], "countryNames": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_observations≈ 3410 tokens
Pull observation records filtered by study, germplasm, variable, season, or observation unit. Without a studies, trials, observationUnits, or observations anchor, a GET query first runs a one-row count probe and skips the bulk pull (warnings says so) when the probe fails or reports more than 5,000 matches. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when those bounds cut it short, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (14)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.trials· array · optionnel
Filter by trialDbIds.seasons· array · optionnel
Filter by seasonDbIds (e.g. "2022").studies· array · optionnel
Filter by studyDbIds.programs· array · optionnel
Filter by programDbIds.germplasm· array · optionnel
Filter by germplasmDbIds.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.variables· array · optionnel
Filter by observationVariableDbIds.timestampTo· string · optionnel
ISO 8601 end of the observation-time window.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.observations· array · optionnel
Filter by observationDbIds.timestampFrom· string · optionnel
ISO 8601 start of the observation-time window.observationUnits· array · optionnel
Filter by observationUnitDbIds.observationLevels· array · optionnel
Observation unit level (plot, plant, field, etc.).
Exemple d'appel{"name": "brapi_find_observations", "arguments": {"alias": "texte", "trials": [], "seasons": [], "studies": [], "programs": [], "germplasm": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_studies≈ 3285 tokens
Locate studies matching crop, trial type, season, location, or program. Enriches results with program/trial/location context in one call. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (11)
Paramètrescrop· string · optionnel
Filter by common crop name (single value).alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.active· boolean · optionnel
Restrict to active / inactive studies.trials· array · optionnel
Filter by trialDbIds.seasons· array · optionnel
Filter by seasons (e.g. "2022").programs· array · optionnel
Filter by programDbIds.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.locations· array · optionnel
Filter by locationDbIds (server-side identifiers, not display names). On servers that ignore this filter on /studies, it is applied client-side over the scanned studies, and a study with no locationDbId never matches.studyNames· array · optionnel
Filter by study display name.trialTypes· array · optionnel
Filter by study types.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.
Exemple d'appel{"name": "brapi_find_studies", "arguments": {"crop": "texte", "alias": "texte", "active": true, "trials": [], "seasons": [], "programs": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_variables≈ 3931 tokens
Find observation variables (traits) by name, trait class, ontology term, or free-text query. Free-text queries are ranked against every fetched row by PUI, name, synonym, and trait text; a candidate carries the ontology PUI of its row as termId when the row has one. results[] holds the leading rows up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (13)
Paramètrescrop· string · optionnel
Filter by common crop name (single value).text· string · optionnel
Free-text query. Ranks **every row the call fetched** (the whole dataframe walk, not just the first page) via the ontology resolver, then fills results[] — up to loadLimit and the 24,000-byte budget — with matches first and unmatched rows for context. Use exact filters (`variables`, `variableNames`, `variablePUIs`, `traitClasses`, `ontologies`) to actually narrow the upstream pull. Differs from `brapi_find_germplasm.text`, which drops unmatched rows.alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.scales· array · optionnel
Filter by scaleDbIds.methods· array · optionnel
Filter by methodDbIds.studies· array · optionnel
Filter by studyDbId. Multiple distinct studies are collected under shared page, row and time budgets and unioned by variable ID with studyDbIds provenance; studyCoverage reports incomplete studies.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.variables· array · optionnel
Filter by observationVariableDbIds.ontologies· array · optionnel
Filter by ontologyDbIds.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.traitClasses· array · optionnel
Filter by trait class.variablePUIs· array · optionnel
Filter by persistent ontology URIs.variableNames· array · optionnel
Filter by exact observationVariableNames.
Exemple d'appel{"name": "brapi_find_variables", "arguments": {"crop": "texte", "text": "texte", "alias": "texte", "scales": [], "methods": [], "studies": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_find_variants≈ 3101 tokens
Find variant records by variant set, reference sequence, or genomic region (start/end, 0-based inclusive / exclusive per the BrAPI spec; servers may differ). results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
Paramètres, retour & exemple (9)
Paramètresend· integer · optionnel
Window end, 0-based exclusive.alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.start· integer · optionnel
Window start, 0-based inclusive.variants· array · optionnel
Filter by variantDbIds.loadLimit· integer · optionnel
Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncated if the upstream walk stopped short); query it with brapi_dataframe_query (SQL) instead of paging row-by-row.references· array · optionnel
Filter by referenceDbIds.variantSets· array · optionnel
Filter by variantSetDbIds.extraFilters· object · optionnel
Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.referenceName· string · optionnel
Reference display name (e.g. "chr01", "chr1").
Exemple d'appel{"name": "brapi_find_variants", "arguments": {"end": 1, "alias": "texte", "start": 1, "variants": [], "loadLimit": 1, "references": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "hasMore": true, "results": [], "warnings": [], "dataframe": {}, "truncated": true, "totalCount": 1, "distributions": {}}} - brapi_germplasm_performance≈ 2416 tokens
Aggregate a single germplasm's observations across studies, returning per-variable statistics (n, mean, median, sd, min, max), contributing studies, seasons, and collection coverage. SGN/Breedbase uses advertised germplasm-scoped observation units with embedded measurements, including zeros. Other servers discover up to 200 studies before pulling per study. Pass studyDbIds to skip discovery and restrict collection to known studies. Per-study observation limits, page limits, failures, and incomplete scans appear in coverage and warnings. For the underlying matrix, use brapi_build_phenotype_matrix.
Paramètres, retour & exemple (4)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.variables· array · optionnel
Optional subset of observationVariableDbIds to aggregate. Omit to include every variable observed for the germplasm.studyDbIds· array · optionnel
Optional studyDbIds to restrict collection to known studies and skip automatic discovery. Omit to walk germplasm-scoped embedded units on SGN/Breedbase, or discover up to 200 studies on other servers. Find known study IDs with brapi_find_studies; some servers ignore its germplasm filter.germplasmDbId· string · requis
The germplasmDbId to summarize performance for.
Exemple d'appel{"name": "brapi_germplasm_performance", "arguments": {"germplasmDbId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"alias": "texte", "error": {}, "coverage": {}, "warnings": [], "studyCount": 1, "studyDbIds": [], "perVariable": [], "germplasmDbId": "texte", "germplasmName": "texte"}} - brapi_get_germplasm≈ 1988 tokens
Fetch a single germplasm by DbId with attributes and direct parents. Response companions report study count, direct parent count, and direct descendant count — signals for pedigree depth and observation coverage.
Paramètres, retour & exemple (2)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.germplasmDbId· string · requis
Germplasm identifier.
Exemple d'appel{"name": "brapi_get_germplasm", "arguments": {"germplasmDbId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"alias": "texte", "error": {}, "parents": [], "warnings": [], "germplasm": {}, "attributes": [], "studyCount": 1, "directParentCount": 1, "directDescendantCount": 1}} - brapi_get_image≈ 1757 tokens
Fetch image bytes for up to 5 imageDbIds and return them inline as `type: image` content blocks. Falls back to the metadata `imageURL` when the server lacks dedicated image-content delivery or that request fails. No filesystem side-effects.
Paramètres, retour & exemple (2)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.imageDbIds· array · requis
1–5 image identifiers.
Exemple d'appel{"name": "brapi_get_image", "arguments": {"imageDbIds": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"alias": "texte", "error": {}, "errors": [], "images": [], "warnings": []}} - brapi_get_study≈ 2448 tokens
Fetch a single study by DbId with its program, trial, and location records resolved where those lookups succeed. Response includes cheap observation/observation-unit/variable counts as drill-down signals.
Paramètres, retour & exemple (2)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.studyDbId· string · requis
Study identifier.
Exemple d'appel{"name": "brapi_get_study", "arguments": {"studyDbId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"alias": "texte", "error": {}, "study": {}, "trial": {}, "program": {}, "location": {}, "warnings": [], "variableCount": 1, "observationCount": 1, "observationUnitCount": 1}} - brapi_raw_get≈ 2123 tokens
Passthrough to BrAPI GET /{path} without foreign-key resolution. List results (result array or result.data) return a leading preview within loadLimit and a 24,000-byte budget on each serialized row representation; an oversized first row returns no inline rows. Omitted fetched rows remain in a dataframe readable with brapi_dataframe_describe and brapi_dataframe_query. Explicit params.page/pageSize fetches only that upstream page, staging it if trimmed. Non-list results and envelope siblings are preserved. Emits a suggestion when a curated tool covers the endpoint.
Paramètres, retour & exemple (4)
Paramètrespath· string · requis
Endpoint path — e.g. "/samples", "/methods". Leading "/" is optional.alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.params· object · optionnel
Query parameters to append. Arrays are repeated per BrAPI convention.loadLimit· integer · optionnel
Cap on rows returned inline. Omit for the deployment default. Rows beyond the cap land in a dataframe; query with brapi_dataframe_query (SQL) instead of paging row-by-row.
Exemple d'appel{"name": "brapi_raw_get", "arguments": {"path": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "url": "texte", "path": "texte", "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "result": "texte", "metadata": {}, "warnings": [], "dataframe": {}, "truncated": true}} - brapi_raw_search≈ 2140 tokens
Passthrough to BrAPI POST /search/{noun}, polling async search IDs. Sends loadLimit as the initial pageSize unless body.page/pageSize drives explicit paging. List previews fit loadLimit and a 24,000-byte budget on each serialized row representation; an oversized first row returns no inline rows. Every fetched row omitted inline stays in a dataframe readable with brapi_dataframe_describe and brapi_dataframe_query. Explicit paging fetches only the requested page, staging it if trimmed. Non-list results and envelope siblings are preserved; no distributions or foreign-key resolution.
Paramètres, retour & exemple (4)
Paramètresbody· object · requis
Filter body passed verbatim to POST /search/{noun}.noun· string · requis
Search noun — e.g. "observations", "calls", "germplasm".alias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.loadLimit· integer · optionnel
Cap on rows returned inline. Omit for the deployment default. Rows beyond the cap land in a dataframe; query with brapi_dataframe_query (SQL) instead of paging row-by-row.
Exemple d'appel{"name": "brapi_raw_search", "arguments": {"body": {}, "noun": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "kind": "sync", "noun": "texte", "alias": "texte", "error": {}, "shown": 1, "notice": "texte", "result": "texte", "metadata": {}, "warnings": [], "dataframe": {}, "truncated": true}} - brapi_server_info≈ 2650 tokens
Return the full orientation envelope for a BrAPI connection — server identity, capabilities, content counts, suggested finders, and notes. Pass forceRefresh to refetch the cached capability scan; pass an alias to read a non-default connection.
Paramètres, retour & exemple (2)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via `brapi_connect` works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.forceRefresh· boolean · optionnel
Bypass the cached capability profile and refetch from the server.
Exemple d'appel{"name": "brapi_server_info", "arguments": {"alias": "texte", "forceRefresh": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"auth": {}, "alias": "texte", "error": {}, "notes": [], "server": {}, "baseUrl": "texte", "content": {}, "dialect": {}, "fetchedAt": "texte", "attribution": {}, "capabilities": {}, "nextToolSuggestions": []}} - brapi_walk_pedigree≈ 4273 tokens
Walk germplasm ancestry or descendancy as a deduplicated DAG with cycle detection and depth limits. leafCount counts graph terminals, confirmedLeafCount counts successfully verified leaves, and frontier records unresolved directions. Nodes and edges each fit loadLimit and a 24,000-byte preview budget; trimmed discovered graphs and already-fetched omitted relatives are staged for brapi_dataframe_describe and brapi_dataframe_query (SQL). Diagrams describe only the discovered graph, never unvisited relatives.
Paramètres, retour & exemple (6)
Paramètresalias· string · optionnel
Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.diagram· string · optionnel · mermaid | dot
Also return the walk as diagram source: `mermaid` (flowchart) or `dot` (Graphviz). Edges point parent → child, roots are bold, loop-closing edges are dashed. Omit for no diagram.maxDepth· integer · optionnel
Max generations to walk per direction (default 3, cap 10).direction· string · optionnel · ancestors | descendants | both
Which direction to walk: ancestors (parents), descendants (progeny), or both — the union of the two walks. Ancestors are walked only upward and descendants only downward, so a descendant's other parent is not included.loadLimit· integer · optionnel
Row ceiling for each inline graph/frontier preview, also bounded by a 24,000-byte budget. Omit for the deployment default. A first row exceeding the byte budget yields zero preview rows; retrieve narrower projections from the staged dataframe.germplasmDbIds· array · requis
Starting germplasm (1–20 roots). All roots are walked concurrently.
Exemple d'appel{"name": "brapi_walk_pedigree", "arguments": {"germplasmDbIds": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"alias": "texte", "edges": [], "error": {}, "nodes": [], "notice": "texte", "diagram": "texte", "frontier": [], "maxDepth": 1, "warnings": [], "direction": "ancestors", "leafCount": 1, "rootCount": 1}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».