Skip to main content
Glama
shukwong
by shukwong

get_transcript

Retrieve detailed information about a specific transcript using its Ensembl ID. Query genetic data such as variant details, constraint scores, and population frequencies from the gnomAD database.

Instructions

Get information about a specific transcript

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reference_genomeNoReference genomeGRCh38
transcript_idYesEnsembl transcript ID (e.g., ENST00000269305)

Implementation Reference

  • The handler logic for the 'get_transcript' tool. It executes a GraphQL query using makeGraphQLRequest with the provided transcriptId and referenceGenome, then extracts the transcript data from the response.
    case "get_transcript": result = await makeGraphQLRequest(QUERIES.getTranscript, { transcriptId: args.transcript_id as string, referenceGenome: parseReferenceGenome((args.reference_genome as string) || "GRCh38"), }); formattedResult = result.data?.transcript || null; break;
  • GraphQL query schema/definition for fetching detailed transcript information, referenced as QUERIES.getTranscript in the handler.
    getTranscript: ` query GetTranscript($transcriptId: String!, $referenceGenome: ReferenceGenomeId!) { transcript(transcript_id: $transcriptId, reference_genome: $referenceGenome) { transcript_id transcript_version reference_genome chrom start stop strand gene_id gene_symbol gene_version gnomad_constraint { exp_lof exp_mis exp_syn obs_lof obs_mis obs_syn oe_lof oe_lof_lower oe_lof_upper oe_mis oe_mis_lower oe_mis_upper oe_syn oe_syn_lower oe_syn_upper lof_z mis_z syn_z pLI } } } `,
  • src/index.ts:507-525 (registration)
    Registration of the 'get_transcript' tool in the ListTools response, including name, description, and input schema for validation.
    { name: "get_transcript", description: "Get information about a specific transcript", inputSchema: { type: "object", properties: { transcript_id: { type: "string", description: "Ensembl transcript ID (e.g., ENST00000269305)", }, reference_genome: { type: "string", description: "Reference genome", default: "GRCh38", }, }, required: ["transcript_id"], }, },
  • Input schema for the 'get_transcript' tool, defining parameters transcript_id (required) and reference_genome.
    inputSchema: { type: "object", properties: { transcript_id: { type: "string", description: "Ensembl transcript ID (e.g., ENST00000269305)", }, reference_genome: { type: "string", description: "Reference genome", default: "GRCh38", }, }, required: ["transcript_id"], },

Other Tools

Related Tools

Latest Blog Posts

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/shukwong/gnomad-mcp-server'

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