Skip to content
Eden Engine

Capital City of a Country (CountriesNow)

countriesnow/country-capital

The capital city of one country, with the country's ISO 3166 alpha-2 and alpha-3 codes. Give the English country name or its alpha-2 code. An unknown country is refused as invalid input. CountriesNow data, passed through unmodified and served by Eden Engine; not an official CountriesNow 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 $5.

Data source

CountriesNow

Data from CountriesNow (countriesnow.space). Served by Eden Engine; not an official CountriesNow 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: "countriesnow/country-capital" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "countriesnow/country-capital" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "countriesnow/country-capital", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "countriesnow/country-capital", 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 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "country": {
      "type": "string",
      "maxLength": 60,
      "minLength": 2,
      "description": "Country name in English (Nigeria, South Korea) or its ISO 3166 alpha-2 code (NG). Case-insensitive."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "error",
    "data"
  ],
  "properties": {
    "msg": {
      "type": "string",
      "description": "A short status message."
    },
    "data": {
      "type": "object",
      "properties": {
        "iso2": {
          "type": "string"
        },
        "iso3": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "capital": {
          "type": "string"
        }
      },
      "description": "name, capital, iso2 and iso3 of the country.",
      "additionalProperties": true
    },
    "error": {
      "type": "boolean",
      "description": "False on success."
    }
  },
  "description": "The service's envelope.",
  "additionalProperties": true
}