Skip to main content
Glama
Almond MCP

Almond MCP

list_design_codes

Lists design code profiles—with load and material factors, deflection limits, and source clauses—that validation and visualization tools accept as design_code. Includes built-in eurocode and off.

Instructions

Lists the design code profiles validate_structure / visualize_structure accept as design_code.

A profile holds the numbers a design code or National Annex sets (load factors gamma_G, gamma_Q, psi_0, xi; the ULS expression; material factors gamma_M0, gamma_M1; the deflection limit; suggested imposed floor loads), each with its source clause and a verified flag. "eurocode" (EN recommended values) is built in and the default; "off" is unfactored mechanics. Practices add National Annex profiles as JSON files in user_dir (see docs/design-codes.md). Unverified values are allowed but flagged in every result that uses them.

Returns JSON: default, profiles [{id, name, basis, origin, verified, unverified, uls_expression, uls_default, deflection_limit_ratio, imposed_floor_kn_m2}], problems (files that failed validation), user_dir.

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": "list_design_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that profiles come from user_dir JSON files, that files failing validation surface in 'problems', and that unverified values are permitted but flagged in every downstream result. It doesn't explicitly state that the call is read-only or how profiles are ordered, which keeps it below 5.

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 key sentence is front-loaded and the structure moves logically from purpose to profile contents to sources to return shape. The parenthetical enumeration of every factor name is somewhat dense and could be trimmed, but each element is informative rather than filler.

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 zero-parameter listing tool, the definition covers origin of profiles, validation failure handling, verification flags, and the shape of the response. An output schema exists, so the return-value recap is redundant but harmless, and nothing an agent needs to call it correctly 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?

The tool takes zero parameters, so the baseline applies; there is no parameter meaning to add and the description correctly spends its space on the returned profile contents instead.

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?

Opens with a specific verb and resource ('Lists the design code profiles') and immediately ties the resource to the sibling tools that consume it as design_code, so an agent can tell what this tool produces and why it matters without opening the schema.

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

Usage Guidelines4/5

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

The consumer relationship to validate_structure / visualize_structure makes the when-to-use case clear: call this to discover valid design_code values. It also explains the built-in 'eurocode' default and the 'off' option. It stops short of explicit when-not guidance or distinguishing this from a similarly named sibling such as list_code_packs.

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

Deploy Server

Other Tools