Skip to main content
Glama
kegg-mcp-server

kegg-mcp-server

by Lucas-Servi

search_brite

Read-onlyIdempotent

Search KEGG BRITE functional hierarchy databases by hierarchy name to retrieve matching entries, with an optional result limit capped at 100.

Instructions

Search KEGG BRITE functional hierarchy databases.

Args: query: Hierarchy name (e.g. 'KEGG pathway', 'transporter', 'ribosome'). max_results: Maximum number of results to return (capped at 100).

Input Schema

NameRequiredDescriptionDefault
queryYes
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
queryYes
resultsYes
databaseYes
truncatedNo
total_foundYes
returned_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.5.0
    • removedOutput schema / $defs
      Removed value: -{
      -  "ErrorResult": {
      -    "description": "Structured error returned by a tool when the KEGG API fails.\n\nA tool returns this instead of raising so the model can reason about\nthe failure and decide whether to retry, change inputs, or give up.\nA point lookup that receives a 404 uses code ``not_found``; an empty search\nremains a successful result with no items.",
      -    "properties": {
      -      "code": {
      -        "default": "kegg_api_error",
      -        "title": "Code",
      -        "type": "string"
      -      },
      -      "error": {
      -        "title": "Error",
      -        "type": "string"
      -      },
      -      "hint": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Hint"
      -      },
      -      "path": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Path"
      -      },
      -      "retryable": {
      -        "default": false,
      -        "title": "Retryable",
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Status"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "title": "ErrorResult",
      -    "type": "object"
      -  },
      -  "SearchResult": {
      -    "properties": {
      -      "database": {
      -        "title": "Database",
      -        "type": "string"
      -      },
      -      "query": {
      -        "title": "Query",
      -        "type": "string"
      -      },
      -      "results": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "title": "Results",
      -        "type": "object"
      -      },
      -      "returned_count": {
      -        "title": "Returned Count",
      -        "type": "integer"
      -      },
      -      "total_found": {
      -        "title": "Total Found",
      -        "type": "integer"
      -      },
      -      "truncated": {
      -        "default": false,
      -        "title": "Truncated",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "query",
      -      "database",
      -      "total_found",
      -      "returned_count",
      -      "results"
      -    ],
      -    "title": "SearchResult",
      -    "type": "object"
      -  }
      -}
    • addedOutput schema / properties / database
      Added value: +{
      +  "title": "Database",
      +  "type": "string"
      +}
    • addedOutput schema / properties / query
      Added value: +{
      +  "title": "Query",
      +  "type": "string"
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/SearchResult"
      -    },
      -    {
      -      "$ref": "#/$defs/ErrorResult"
      -    }
      -  ],
      -  "title": "Result"
      -}
    • addedOutput schema / properties / results
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "title": "Results",
      +  "type": "object"
      +}
    • addedOutput schema / properties / returned_count
      Added value: +{
      +  "title": "Returned Count",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / total_found
      Added value: +{
      +  "title": "Total Found",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "default": false,
      +  "title": "Truncated",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "query",
      +  "database",
      +  "total_found",
      +  "returned_count",
      +  "results"
      +]
    • changedOutput schema / title
      Previous value: -"search_briteOutput"New value: +"SearchResult"
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds the useful cap of 100 results but does not describe pagination, result ordering, or other behavioral details beyond that cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded with the core action, and uses an Args block efficiently. Every sentence contributes either the purpose or parameter clarification.

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?

An output schema exists, so return values need not be explained, and annotations cover safety and idempotency. The description covers both parameters adequately, though it could better distinguish search_brite from get_brite_info for complete task context.

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 description coverage is 0%, so the description must compensate, and it does define both parameters. The query examples and the max_results cap of 100 add meaningful semantics beyond the bare schema, though the default value of 25 is left to 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 states a specific verb and resource: search KEGG BRITE functional hierarchy databases. This clearly distinguishes it from siblings such as get_brite_info, but it does not explicitly name that sibling or clarify search-vs-detail boundaries.

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 implied by the query examples such as 'KEGG pathway', 'transporter', and 'ribosome', which show what to search for. However, there is no explicit guidance on when to use this tool instead of get_brite_info or other search tools.

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