Skip to main content
Glama

eng_french_drain

Read-only

French drain calculator (stone, pipe, fabric, capacity) — Plans a French drain trench: excavation and loose spoil (cu yd), #57 drainage stone in cu yd, tons (+10 percent order) and bags, perforated pipe length and 10 ft sticks, geotextile wrap width, square feet and roll width, total fall and outlet depth at the chosen slope, and Manning full-flow pipe capacity (gpm) with the hard-surface and lawn area it can drain. Optional catchment check flags an UNDERSIZED pipe. Params: length_ft. Optional: depth_in (default 18), width_in (12), pipe_in (4), pipe_type (corrugated | pvc), slope_pct (1), cover_in (3), catchment_sqft, rain_in_hr (1). Offline. Price: $0.003 USDC (Base, via x402).

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": {
      "length_ft": "<length_ft>"
    },
    "name": "eng_french_drain"
  }
}

Input Schema

NameRequiredDescriptionDefault
length_ftYese.g. 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the read-only, non-destructive profile, and the description adds real value beyond them: it is offline, it applies a +10 percent stone overage, defaults are stated inline, and the optional catchment check flags an UNDERSIZED pipe. The one tension is that the description says 'Offline' while openWorldHint is true, and the x402 payment step is itself an external interaction, but this is not a direct safety contradiction.

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 purpose is front-loaded and the dense output enumeration is useful rather than filler. The single long paragraph is heavy but every clause identifies a distinct returned quantity or parameter, with minimal redundancy.

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

Completeness4/5

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

There is no output schema, so the description carries the return-value burden and does so thoroughly by listing each computed quantity and its unit. Completeness is docked only because the listed optional parameters are absent from the actual schema and the pricing/payment mechanics are stated but not explained for invocation.

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?

With a single required parameter at 100 percent schema coverage, the baseline is 3. The description does add meaning (units, default values, pipe_type enum of corrugated/pvc, slope default of 1), but it also advertises nine optional parameters that do not exist in the input schema, which could lead an agent to pass arguments that will fail validation.

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 names a specific tool ('French drain calculator') and enumerates concrete outputs: excavation/spoil in cu yd, #57 stone in tons and bags, pipe length and 10 ft sticks, geotextile width, fall/outlet depth, and Manning capacity in gpm. That is far more specific than a restated title. It stops short of a 5 because it does not distinguish itself from the sibling eng_pipe_flow, which also computes Manning flow, leaving overlap unresolved.

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?

Usage is only implied by the description ('Plans a French drain trench'), so an agent can infer the right context. There is no explicit when-to-use, when-not-to-use, or prerequisite guidance, and no mention of how this differs from eng_pipe_flow or eng_aggregate for the pipe/stone sub-calculations.

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