Skip to main content
Glama

CEDAR MCP Server

get_instances_based_on_template

Retrieve paginated template instances from the CEDAR metadata repository to access structured metadata and biomedical data annotations while managing data volume constraints.

Instructions

Get template instances that belong to the input template ID with pagination support.

This tool searches for instances of a given template and fetches their complete content in paginated chunks to avoid token limit issues.

Args: template_id: The template ID or full URL from CEDAR repository (e.g., "https://repo.metadatacenter.org/templates/e019284e-48d1-4494-bc83-ddefd28dfbac") limit: Number of instances to return per page (min: 1, max: 100, default: 10) offset: Starting position for pagination (default: 0)

Returns: Dictionary containing: - instances: List of template instances for this page - pagination: Pagination metadata (total_count, current_page, etc.) - errors: List of any errors encountered during fetching

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
template_idYes

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 10, "type": "integer" }, "offset": { "default": 0, "type": "integer" }, "template_id": { "type": "string" } }, "required": [ "template_id" ], "type": "object" }

Other Tools from CEDAR MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/cedar-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server