Skip to main content
Glama

sodural-electrical-mcp

Study Archive Cache & Index Status

sodural_archive_status
Read-onlyIdempotent

Inspect real-time health of the pre-indexed power-system study archive, 60-minute checkup scheduler, and equipment counts across buses, transformers, and cables. When to use: Use this tool when verifying cache freshness or indexed equipment totals before querying archived studies. Do not use for reading one study summary (sodural_get_study_summary), browsing UI studio routes (sodural_list_studios), or solving power-flow equations (sodural_solve_topology_whitebox). Behavior: Stateless, read-only cache inspection with zero disk or session side effects; falls back to the public reference catalog when unauthenticated or unindexed, obeys HTTP rate limits, takes no arguments (empty object default), and raises JSON-RPC -32602 on malformed parameter types. Returns: status or accessScope, totalStudies, busesIndexed, transformersIndexed, cablesIndexed, lastCheckup or updatedAt, and optional studies.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sodural_archive_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
statusNoArchive scheduler operational state (e.g. ONLINE or PENDING_FIRST_RUN).
studiesNoPublic catalog study entries exposed during demonstration fallback.
updatedAtNoISO-8601 UTC timestamp of the active public demonstration catalog.
durationMsNoElapsed execution duration of the latest archive checkup in milliseconds.
accessScopeNoPublic reference catalog indicator emitted when private archive access is inactive.
lastCheckupNoISO-8601 UTC timestamp of the latest completed archive scan.
nextCheckupNoISO-8601 UTC timestamp scheduled for the next automatic checkup.
busesIndexedNoDistinct busbar identifiers indexed across all archived studies.
totalStudiesNoTotal count of indexed load-flow and short-circuit study files.
cablesIndexedNoDistinct feeder cable branches indexed across all archived studies.
filesUpToDateNoNumber of study files skipped during the last run because hashes matched.
intervalMinutesNoConfigured automated checkup cadence in minutes.
transformersIndexedNoDistinct two-winding and three-winding transformers indexed across studies.
filesProcessedThisRunNoNumber of new or modified study files extracted in the latest scan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Archive scheduler status, indexed equipment counts, and optional demonstration catalog.",
      +  "properties": {
      +    "accessScope": {
      +      "description": "Public reference catalog indicator emitted when private archive access is inactive.",
      +      "type": "string"
      +    },
      +    "busesIndexed": {
      +      "description": "Distinct busbar identifiers indexed across all archived studies.",
      +      "type": "integer"
      +    },
      +    "cablesIndexed": {
      +      "description": "Distinct feeder cable branches indexed across all archived studies.",
      +      "type": "integer"
      +    },
      +    "durationMs": {
      +      "description": "Elapsed execution duration of the latest archive checkup in milliseconds.",
      +      "type": "number"
      +    },
      +    "filesProcessedThisRun": {
      +      "description": "Number of new or modified study files extracted in the latest scan.",
      +      "type": "integer"
      +    },
      +    "filesUpToDate": {
      +      "description": "Number of study files skipped during the last run because hashes matched.",
      +      "type": "integer"
      +    },
      +    "intervalMinutes": {
      +      "description": "Configured automated checkup cadence in minutes.",
      +      "type": "integer"
      +    },
      +    "lastCheckup": {
      +      "description": "ISO-8601 UTC timestamp of the latest completed archive scan.",
      +      "type": "string"
      +    },
      +    "nextCheckup": {
      +      "description": "ISO-8601 UTC timestamp scheduled for the next automatic checkup.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "Archive scheduler operational state (e.g. ONLINE or PENDING_FIRST_RUN).",
      +      "type": "string"
      +    },
      +    "studies": {
      +      "description": "Public catalog study entries exposed during demonstration fallback.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "Archived study metadata summary.",
      +        "properties": {
      +          "fileName": {
      +            "description": "Archived study file name.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totalStudies": {
      +      "description": "Total count of indexed load-flow and short-circuit study files.",
      +      "type": "integer"
      +    },
      +    "transformersIndexed": {
      +      "description": "Distinct two-winding and three-winding transformers indexed across studies.",
      +      "type": "integer"
      +    },
      +    "updatedAt": {
      +      "description": "ISO-8601 UTC timestamp of the active public demonstration catalog.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, yet the description still adds substance beyond them: zero disk/session side effects, fallback to the public reference catalog when unauthenticated or unindexed, HTTP rate-limit obedience, and a specific JSON-RPC error (-32602) on malformed parameter types. That fallback detail in particular is behavior an agent could not infer from the annotations, though it sits in mild tension with openWorldHint=false since a 'public reference catalog' implies an external data source.

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

Conciseness4/5

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

The description is front-loaded and organized into Purpose / When to use / Do not use / Behavior / Returns, which makes it scannable. It is dense but mostly earns its length; the only weak spot is the Returns enumeration, which an output schema already covers and could have been trimmed.

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 stateless, zero-argument status tool, the definition covers the remaining unknowns: what is measured, when to call it, what it is not for, degradation/fallback behavior, and error semantics. An output schema exists, so the description did not need to enumerate return fields, yet nothing essential is missing.

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?

With zero parameters the baseline is 4. The description adds marginal meaning by stating the tool takes no arguments and defaults to an empty object, and that malformed parameter types raise -32602, which is not expressed in the schema (whose additionalProperties:true actually permits extra keys). This is useful but slightly at odds with the schema, so it does not warrant a 5.

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 opening sentence names a specific verb and resource set: inspecting real-time health of the pre-indexed study archive, the 60-minute checkup scheduler, and equipment counts for buses/transformers/cables. It is clearly distinguishable from the sibling calculators and lookup tools, and the scope (cache/index status, not study content) is stated explicitly.

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

Usage Guidelines5/5

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

The description gives an explicit 'When to use' condition (verifying cache freshness or indexed equipment totals before querying archived studies) and names three concrete alternatives it is not: sodural_get_study_summary for a single summary, sodural_list_studios for UI route browsing, and sodural_solve_topology_whitebox for solving. Both the positive and negative routing are covered, which is the strongest form of guidance.

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.

Resources