Skip to main content
Glama
OMOPHub MCP Server

OMOPHub MCP Server

Official
by OMOPHub

Look up a concept by numeric OMOP ID

get_concept
Read-only

Retrieve detailed OMOP concept information by numeric concept_id, including name, vocabulary, domain, class, standard status, valid dates, and synonyms to verify codes after a name search.

Instructions

Get detailed information about a specific OMOP concept by its numeric concept_id. Returns the concept name, vocabulary, domain, concept class, standard status, valid dates, and synonyms. After searching by name, pass the selected numeric concept_id here to verify the concept code and vocabulary release.

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": {
      "concept_id": "<concept_id>"
    },
    "name": "get_concept"
  }
}

Input Schema

NameRequiredDescriptionDefault
concept_idYesThe OMOP concept_id (numeric identifier)

Output Schema

NameRequiredDescriptionDefault
concept_idYes
concept_nameYes
vocab_releaseNo

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": {},
      +  "properties": {
      +    "concept_id": {
      +      "type": "number"
      +    },
      +    "concept_name": {
      +      "type": "string"
      +    },
      +    "vocab_release": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "concept_id",
      +    "concept_name"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.5.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the verification-after-search use case, which is genuinely useful, but says nothing about behavior on an invalid or retired concept_id or about the 'valid dates' edge cases.

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?

Three sentences, front-loaded with purpose before the workflow hint, with no wasted framing. The enumeration of return fields is mildly redundant given an output schema exists, but it is short and does not obscure the core instruction.

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 one-parameter read tool with full annotations and an output schema, the description covers purpose, identifier semantics and the intended follow-up workflow. The only shortfall is silent handling of missing or invalid IDs, which is a minor gap at this complexity.

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?

With a single parameter and 100% schema description coverage, the schema already defines concept_id. The description only reinforces that it is numeric and that it should come from a prior name search; it adds no format or range detail beyond that.

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?

The description opens with a specific verb and resource ('Get detailed information about a specific OMOP concept') and pins the identifier type to a numeric concept_id, which cleanly separates it from name/code lookup tools such as search_concepts or get_concept_by_code.

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?

It supplies a concrete workflow: search by name first, then pass the selected numeric concept_id here to verify the code and vocabulary release. That gives clear when-to-use context, though it does not explicitly exclude the code-based sibling get_concept_by_code or say what to do when only a code is known.

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