Skip to main content
Glama

Get Interchange

get_interchange
Read-onlyIdempotent

Get current Alberta power interchange flows by path in megawatts, with net interchange and AESO sign conventions. Use it to monitor imports, exports, and total exchange in real time.

Instructions

Returns current Alberta interchange flows by path in MW, including net interchange. Positive/negative path signs follow AESO Current Supply Demand conventions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYes
metadataYesProvenance and semantic metadata attached to dataset responses.
warningsNo
observed_atYes
net_interchange_mwYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedOutput schema / properties / metadata / properties / provider / enum
      Previous value: -[
      -  "gridstatus",
      -  "aeso_apim",
      -  "aeso_public_report",
      -  "derived"
      -]New value: +[
      +  "gridstatus",
      +  "aeso_apim",
      +  "aeso_public_report",
      +  "aeso_csd_archive",
      +  "derived"
      +]
  2. Changed13 schema fields changedv0.2.0
    • addedOutput schema / properties / metadata / properties / available_series
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / metadata / properties / cache_age
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Age of the cached provider result in seconds when served."
      +}
    • addedOutput schema / properties / metadata / properties / cache_hit
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / metadata / properties / completeness
      Added value: +{
      +  "default": "unknown",
      +  "description": "Completeness of the requested observations or series.",
      +  "enum": [
      +    "complete",
      +    "partial",
      +    "degraded",
      +    "empty",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / metadata / properties / expected_observation_count
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / metadata / properties / expected_observations
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / metadata / properties / finality
      Added value: +{
      +  "default": "unknown",
      +  "description": "Whether published observations are final or still preliminary.",
      +  "enum": [
      +    "final",
      +    "preliminary",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / metadata / properties / missing_observation_count
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / metadata / properties / missing_observations
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / metadata / properties / missing_series
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / metadata / properties / observation_type
      Added value: +{
      +  "default": "actual",
      +  "description": "What kind of observation a response contains.\n\n``DataStatus`` predates this distinction and remains available for\ncompatibility.  ``observation_type`` should be used when a client needs\nto distinguish an actual observation from a forecast or a derived value.",
      +  "enum": [
      +    "actual",
      +    "forecast",
      +    "derived",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / metadata / properties / provider / enum
      Previous value: -[
      -  "gridstatus",
      -  "aeso_apim",
      -  "derived"
      -]New value: +[
      +  "gridstatus",
      +  "aeso_apim",
      +  "aeso_public_report",
      +  "derived"
      +]
    • addedOutput schema / properties / metadata / properties / served_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description is not responsible for side-effect disclosure. It adds meaningful behavioral context by explaining the AESO sign convention and that results are current flows, going beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences. The first states the core purpose and measurement unit; the second adds the sign convention. No wasted words or redundant schema repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only tool with an output schema, this description is complete. It specifies the resource, units, temporal scope, and a key interpretive detail. Nothing else is needed for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema fully covers input semantics. The description's mention of 'by path' refers to output granularity, not a parameter, so no additional parameter guidance is needed.

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 clearly states the tool returns current Alberta interchange flows by path in MW and includes net interchange. It also specifies the sign convention, distinguishing it from intertie capability and outage tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus alternatives like get_intertie_capability or get_intertie_outages. The description implies current flow retrieval but does not state exclusions or conditions.

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