Skip to main content
Glama

Cross Border Flow

cross_border_flow
Read-onlyIdempotent

Physical flow across an interconnector (in_area -> out_area).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "area_to": "10YFR-RTE------C",
      "area_from": "10YDE-VE-------2",
      "period_end": "202504012300",
      "period_start": "202504010000"
    },
    "name": "cross_border_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
area_toYesDestination area EIC code
area_fromYesSource area EIC code
period_endYes
period_startYes

Output Schema

NameRequiredDescriptionDefault
queryYesQuery parameters sent to ENTSO-E API
time_seriesYesArray of cross-border flow time series
time_series_countYesNumber of time series returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "area_from": "10YDE-VE-------2",
      -    "area_to": "10YFR-RTE------C",
      -    "period_end": "202401012300",
      -    "period_start": "202401010000"
      -  },
      -  {
      -    "area_from": "10YGB-NGET-----L",
      -    "area_to": "10YNL----------L",
      -    "period_end": "202412312300",
      -    "period_start": "202412010000"
      -  }
      -]New value: +[
      +  {
      +    "area_from": "10YDE-VE-------2",
      +    "area_to": "10YFR-RTE------C",
      +    "period_end": "202504012300",
      +    "period_start": "202504010000"
      +  },
      +  {
      +    "area_from": "10YGB-NGET-----L",
      +    "area_to": "10YNL----------L",
      +    "period_end": "202412312300",
      +    "period_start": "202412010000"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "area_from": "10YDE-VE-------2",
      +    "area_to": "10YFR-RTE------C",
      +    "period_end": "202401012300",
      +    "period_start": "202401010000"
      +  },
      +  {
      +    "area_from": "10YGB-NGET-----L",
      +    "area_to": "10YNL----------L",
      +    "period_end": "202412312300",
      +    "period_start": "202412010000"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "query": {
      +      "description": "Query parameters sent to ENTSO-E API",
      +      "type": "object"
      +    },
      +    "time_series": {
      +      "description": "Array of cross-border flow time series",
      +      "items": {
      +        "properties": {
      +          "business_type": {
      +            "description": "Business type classification",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "in_domain": {
      +            "description": "Destination area EIC code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "mrid": {
      +            "description": "Market Resource ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "out_domain": {
      +            "description": "Source area EIC code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "periods": {
      +            "description": "Time periods with flow data",
      +            "items": {
      +              "properties": {
      +                "period_end": {
      +                  "description": "Period end timestamp (ISO 8601)",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "period_start": {
      +                  "description": "Period start timestamp (ISO 8601)",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "points": {
      +                  "description": "Flow data points",
      +                  "items": {
      +                    "properties": {
      +                      "position": {
      +                        "description": "Position/index in period",
      +                        "type": "number"
      +                      },
      +                      "value": {
      +                        "description": "Physical flow in MW",
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "position",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "resolution": {
      +                  "description": "Time resolution (e.g., PT60M for hourly)",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "psr_type": {
      +            "description": "Production source resource type",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "time_series_count": {
      +      "description": "Number of time series returned",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "time_series_count",
      +    "time_series"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety and idempotency profile is covered. The description adds only the directional semantics (source to destination), and it does so with names ('in_area', 'out_area') that differ from the actual parameters (area_from, area_to). It says nothing about units (e.g. MW), time resolution, or how missing periods are handled, so value beyond annotations is thin.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, so structure is fine. The problem is under-specification rather than verbosity: it is too terse to carry the tool's semantics, so brevity here is not fully earned.

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

Completeness2/5

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

With four required parameters, two of them undocumented timestamps, and no output explanation needed given an output schema exists, the description leaves the agent guessing about period formats, units, and result granularity. The annotations cover safety but not the operational details an agent needs to call this correctly, so the definition is not complete for its complexity.

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

Parameters2/5

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

Schema coverage is 50%: area_from and area_to have descriptions, but period_start and period_end have none, and the description does not supply their expected format, timezone, or granularity. The '(in_area -> out_area)' hint conveys direction but uses mismatched naming versus the schema, adding ambiguity rather than compensating for the uncovered timestamp parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource ('physical flow across an interconnector'), which goes slightly beyond the tool name and clarifies that it is physical cross-border flow rather than scheduled or commercial exchanges. However, it is a noun phrase rather than a verb+resource statement and gives no signal distinguishing it from siblings such as actual_generation_per_type or actual_load. An agent must infer the ENTSO-E-style data domain from the name alone.

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 when-to-use guidance, no exclusions, and no named alternative. The parenthetical 'in_area -> out_area' implies a direction requirement, but the description never says to use this tool for interconnector flows versus generation or load, nor does it state any prerequisites such as valid EIC codes or a bounded period.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.