Skip to main content
Glama
midas-civil-mcp

midas-civil-mcp

midas_prepare_command_shell

Validates an MCT file and returns its exact contents plus visible MIDAS Civil 2022 MCT Command Shell loading steps, without pasting or running the commands.

Instructions

Validate an MCT file and return its exact content plus visible MIDAS Civil 2022 MCT Command Shell loading steps. Does not paste or run it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "midas_prepare_command_shell"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does useful work by declaring the tool is non-mutating ('Does not paste or run it') and that it returns the file's exact content plus human-facing loading steps, which implies a manual copy/paste workflow. It says nothing about what happens when validation fails, whether partial results are returned, or what permissions/location the file must satisfy.

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 tight sentences, front-loaded with the action and return value, followed by the single most important behavioural caveat. No filler or repetition of the tool name.

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

Completeness3/5

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

For a one-parameter, no-annotation, no-output-schema tool, the description covers the core action and non-execution guarantee. It falls short on file resolution (the filename-only constraint), on what 'validation' actually checks, and on failure behaviour, which an agent needs before invoking it in a workflow.

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?

The single parameter has 0% schema description coverage, so the description must compensate. It only says 'an MCT file', restating what the regex pattern already encodes. The notable constraint in the schema — that the value is a bare filename with no slashes or backslashes — is never explained (e.g., which directory it resolves against), leaving the agent to guess.

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

Purpose4/5

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

The description pairs a specific verb (validate) with a specific resource (an MCT file) and states the return payload: exact file content plus MIDAS Civil 2022 Command Shell loading steps. The closing clause 'Does not paste or run it' implicitly separates it from execution-oriented siblings such as midas_ui_run_staged, but it never names midas_validate_mct or midas_open_mct, which sound like near neighbours.

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

Usage Guidelines3/5

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

'Does not paste or run it' gives one clear negative condition, implying this is the inspect-before-executing step. However, there is no explicit statement of when to prefer this over midas_validate_mct, midas_open_mct, or midas_ui_stage_mct, so the agent must infer the routing from sibling names alone.

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