Skip to main content
Glama

EBI ChEBI Biological Chemical Entities MCP

Get ChEBI compound roles

get_chebi_compound_roles
Read-onlyIdempotent

Retrieve biological roles, chemical roles, and therapeutic application classifications for a ChEBI entity.

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": {
      "chebi_id": "<chebi_id>"
    },
    "name": "get_chebi_compound_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
chebi_idYesChEBI ID (e.g. "15365" or "CHEBI:15365").
role_typeNoFilter by role category (default "all").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety and mutability profile is fully covered. The description adds only a gloss on what 'roles' means (biological, chemical, therapeutic application); it says nothing about behavior for entities with no assigned roles, whether results are paginated, or how the classifications are structured.

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?

A single front-loaded sentence with no filler or repetition. It is appropriately sized for a simple lookup, though its brevity leaves the definition without any usage routing.

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 full schema coverage, rich annotations and no output schema, the description covers what is needed to call it correctly. The remaining gap is sibling differentiation, since an agent choosing between this and get_chebi_compound_by_id gets no explicit signal.

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 both parameters are already documented with examples and the enum values. The description reinforces the role categories that correspond to role_type, which is a mild mapping benefit, but it adds no format or edge-case detail (e.g. accepting bare '15365' vs 'CHEBI:15365') beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Retrieve) and a specific resource (roles/classifications for a ChEBI entity), and enumerates the role categories. That distinguishes it from siblings like get_chebi_chemical_structure and get_chebi_database_xrefs, though it never explicitly contrasts with get_chebi_compound_by_id, which could plausibly also surface roles.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer 'call this when you need role/application data for a compound.' There is no statement of when not to use it, no prerequisite that a ChEBI ID must be resolved first, and no named alternative for related lookups.

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.