Skip to content
Eden Engine

Human GRCh37 Chromosome or Region Length (Ensembl GRCh37)

ensemblrestgrch37/region-length

Returns the length in base pairs and the kind (chromosome, supercontig) of one named region of the human GRCh37 (hg19) assembly, for example 13, X, Y or MT. Use it to bound coordinates before a lookup or to check that a region name exists. An unknown region returns a validation error. Ensembl data, passed through unmodified and served by Eden Engine; not an official Ensembl product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Ensembl

Source: Ensembl (EMBL-EBI), https://www.ensembl.org, retrieved through the Ensembl GRCh37 REST API. Served by Eden Engine; not an official Ensembl product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "ensemblrestgrch37/region-length" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "ensemblrestgrch37/region-length" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ensemblrestgrch37/region-length", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ensemblrestgrch37/region-length", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 24, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "region"
  ],
  "properties": {
    "region": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.]{1,40}$",
      "description": "A GRCh37 region name: a chromosome such as 13, X, Y or MT, or a supercontig name from the assembly summary."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "length"
  ],
  "properties": {
    "length": {
      "type": "integer",
      "description": "Length in base pairs."
    },
    "is_circular": {
      "type": "integer"
    },
    "assembly_name": {
      "type": "string"
    },
    "is_chromosome": {
      "type": "integer"
    },
    "coordinate_system": {
      "type": "string"
    },
    "assembly_exception_type": {
      "type": "string"
    }
  },
  "description": "The Ensembl region record.",
  "additionalProperties": true
}