Skip to main content
Glama

swmm_peak

Extract peak flow and time-of-peak for a specific node from a SWMM report file. Supply the report path and node name to get these values.

Instructions

Parse peak flow and time-of-peak for a specific node/outfall from a SWMM .rpt. The node name must be supplied (no default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rptYes
nodeYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It states the tool parses from a .rpt file, but does not reveal error behavior (e.g., node not found), whether it modifies files, or required file structure. Critical missing details for a parse tool.

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 very concise at two sentences, front-loaded with the main action. Every word adds value without redundancy.

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 simple parse tool with 2 parameters and no output schema, the description is adequate but could include details on expected .rpt format (e.g., SWMM 5 output) or behavior on missing node. It covers essentials but lacks robustness.

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

Parameters3/5

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

Schema description coverage is 0%, but the description adds meaning: 'rpt' is the SWMM .rpt file, 'node' is the node/outfall name, and it must be supplied. This clarifies the purpose beyond the bare parameter names, though format or constraints are not specified.

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 explicitly states that the tool parses peak flow and time-of-peak from a SWMM .rpt file for a specific node/outfall. It is clear and specific, but does not differentiate from sibling tools like swmm_compare or swmm_run beyond the action.

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?

The description mentions that the node name must be supplied, but provides no guidance on when to use this tool vs alternatives (e.g., swmm_run for simulation, swmm_compare for comparisons) or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zhonghao1995/agentic-swmm-workflow'

If you have feedback or need assistance with the MCP directory API, please join our Discord server