Skip to main content
Glama

Free Tool Directory

terrarium-layer-calculator

Terrarium Layer Calculator — Drainage, charcoal and soil layers for your terrarium, by container shape, with bag counts.

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": {
      "len": "<len>",
      "wid": "<wid>",
      "height": "<height>"
    },
    "name": "terrarium-layer-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
diaNoDiameter in cm (cylinder / bowl).
lenYesLength in cm (rectangle).
widYesWidth in cm (rectangle).
subBNoSubstrate bag size in litres.
subDNoSubstrate depth in cm.
topBNoTop dressing bag size in litres.
topDNoTop dressing depth in cm.
charBNoCharcoal bag size in litres.
charDNoCharcoal depth in cm.
shapeNoContainer shape.rect
drainBNoDrainage bag size in litres.
drainDNoDrainage depth in cm.
heightYesContainer height in cm.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / charB
      Added value: +{
      +  "default": 2,
      +  "description": "Charcoal bag size in litres.",
      +  "type": "number"
      +}
    • addedInput schema / properties / charD
      Added value: +{
      +  "default": 1,
      +  "description": "Charcoal depth in cm.",
      +  "type": "number"
      +}
    • addedInput schema / properties / dia
      Added value: +{
      +  "default": 25,
      +  "description": "Diameter in cm (cylinder / bowl).",
      +  "type": "number"
      +}
    • addedInput schema / properties / drainB
      Added value: +{
      +  "default": 5,
      +  "description": "Drainage bag size in litres.",
      +  "type": "number"
      +}
    • addedInput schema / properties / drainD
      Added value: +{
      +  "default": 3,
      +  "description": "Drainage depth in cm.",
      +  "type": "number"
      +}
    • addedInput schema / properties / height
      Added value: +{
      +  "description": "Container height in cm.",
      +  "type": "number"
      +}
    • addedInput schema / properties / len
      Added value: +{
      +  "description": "Length in cm (rectangle).",
      +  "type": "number"
      +}
    • addedInput schema / properties / shape
      Added value: +{
      +  "default": "rect",
      +  "description": "Container shape.",
      +  "enum": [
      +    "rect",
      +    "cyl",
      +    "bowl"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / subB
      Added value: +{
      +  "default": 10,
      +  "description": "Substrate bag size in litres.",
      +  "type": "number"
      +}
    • addedInput schema / properties / subD
      Added value: +{
      +  "default": 8,
      +  "description": "Substrate depth in cm.",
      +  "type": "number"
      +}
    • addedInput schema / properties / topB
      Added value: +{
      +  "default": 2,
      +  "description": "Top dressing bag size in litres.",
      +  "type": "number"
      +}
    • addedInput schema / properties / topD
      Added value: +{
      +  "default": 1,
      +  "description": "Top dressing depth in cm.",
      +  "type": "number"
      +}
    • addedInput schema / properties / wid
      Added value: +{
      +  "description": "Width in cm (rectangle).",
      +  "type": "number"
      +}
    • addedInput schema / required
      Added value: +[
      +  "len",
      +  "wid",
      +  "height"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure. It usefully reveals that the output includes bag counts (not derivable from the schema, and there is no output schema), but says nothing about units of the result, rounding, or which dimensions are actually consumed per shape — the most consequential behavior for a container-shape calculator.

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?

A single front-loaded line that enumerates the computed layers, the sizing axis, and the bag-count output with no filler. Nothing is redundant and nothing is padded.

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?

For a 13-parameter tool with no annotations and no output schema, the definition is thin. The key invocation risk is left unexplained: len and wid are required even though cyl and bowl shapes use dia, and the description gives no guidance on which dimension set applies to which shape or how bag counts per layer are reported.

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 100%, so all 13 parameters are already documented with units and defaults, making 3 the baseline. The description's phrase 'by container shape' adds a little meaning by implying the shape enum drives the formula, but it never explains the dia-versus-len/wid relationship, so no real value is added over the schema.

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?

States a specific computation — drainage, charcoal and soil layer quantities for a terrarium — plus two distinguishing outputs: shape-driven sizing and bag counts. A reader can tell this apart from the other calculator siblings by resource alone. It stops short of a verb phrase like 'calculates', but the scope is unambiguous.

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 or when-not-to-use guidance, no mention of prerequisites, and no routing to alternatives. The only implicit hint is 'by container shape', which suggests picking a shape, but the agent must infer that shape selection changes which dimensions matter.

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