Skip to main content
Glama
OMOPHub MCP Server

OMOPHub MCP Server

Official
by OMOPHub

List available vocabularies

list_vocabularies
Read-only

Lists available OMOP medical vocabularies with concept counts and metadata, with optional name filtering, to help identify terminology systems and their scope.

Instructions

List all available medical vocabularies in the OMOP standardized vocabulary system with concept counts and metadata. Use this to understand what terminology systems are available (SNOMED CT, ICD-10-CM, RxNorm, LOINC, etc.) and their scope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_vocabularies"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchNoOptional search term to filter vocabularies by name

Output Schema

NameRequiredDescriptionDefault
totalYes
vocabulariesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "total": {
      +      "type": "number"
      +    },
      +    "vocabularies": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "vocabulary_id": {
      +            "type": "string"
      +          },
      +          "vocabulary_name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "vocabulary_id",
      +          "vocabulary_name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "vocabularies",
      +    "total"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.5.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that results include concept counts and metadata and that the listing is complete ('all available'), but says nothing about pagination, ordering, or auth/rate-limit behavior. With an output schema present, return-shape disclosure is not required, so this is adequate but thin.

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?

Two sentences, zero waste, with the core action and scope front-loaded and the example vocabularies earning their place by making the tool's domain instantly concrete.

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?

A simple, single-optional-parameter read tool with annotations and an output schema; the description covers purpose, domain, and result content. The only real gap is silence on whether the name-filter narrows results, which the schema already handles.

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 100% and the single optional 'search' parameter is fully documented in the schema as filtering by vocabulary name. The description never mentions filtering at all, so it adds no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb and resource: 'List all available medical vocabularies in the OMOP standardized vocabulary system with concept counts and metadata.' This clearly separates it from the concept-level siblings (search_concepts, get_concept, map_concept), though it never names those alternatives explicitly.

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?

'Use this to understand what terminology systems are available (SNOMED CT, ICD-10-CM, RxNorm, LOINC, etc.) and their scope' gives a concrete use context. It stops short of stating when-not to use it or pointing at a sibling for concept-level lookups.

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