Skip to main content
Glama

trait_ontology

Read-onlyIdempotent

Ontology terms for a wheat trait, to annotate data or match trial variables: Wheat Crop Ontology (CO_321) variables (trait + method + scale, e.g. 'Heading time - days', with definitions) as used by T3/Wheat and other BrAPI databases, and Planteome Plant Trait Ontology (TO) classes (e.g. TO:0000137 days to heading). query: trait words ('days to heading', 'grain protein', 'stripe rust'). A CO_321 variable ID is what trial data and BrAPI observations use; a TO ID is the cross-species trait class.

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": {
      "query": "<query>"
    },
    "name": "trait_ontology"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real substance beyond that: the two underlying data sources, that variables include trait+method+scale with definitions, and the operational meaning of each returned ID. It does not mention the limit cap, result ordering, or behavior on no-match queries.

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?

Front-loads the purpose and stays reasonably tight, with no filler sentences. The trailing 'query:' fragment is telegraphic and slightly awkward, and the CO_321 sentence is dense, but every clause carries information.

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?

For a two-parameter read-only lookup with no output schema, the description supplies what an agent needs: what is searched, what the two vocabularies mean, and how returned IDs are consumed downstream. The only gap is pagination/limit behavior, which an agent would have to infer.

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 coverage is 0%, so the description must compensate. It does well for `query`, supplying the expected input form and three realistic example strings ('days to heading', 'grain protein', 'stripe rust'), but `limit` is never mentioned — no default, no maximum, no effect described — leaving one of two parameters undocumented in both schema and description.

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?

States a specific verb+resource: returning ontology terms for a wheat trait, and names both vocabularies served (CO_321 variables and Planteome TO classes) with concrete examples. It also distinguishes the two ID types and what each is for, so an agent can tell this apart from gene-centric siblings like trait_hits or cereal_trait_genes.

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?

Gives clear usage context — annotate data, match trial variables — and the downstream rule that CO_321 IDs are what trial data and BrAPI observations use while TO IDs are cross-species classes. It stops short of explicitly routing away from alternatives or stating when not to use it, so it is strong context without full when/when-not guidance.

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