Skip to main content
Glama

FERS Structural Analysis

Add a code check

add_unity_check
Read-only

Append a unity (code) check to a model's analysis.unity_checks. check is a UnityCheckDefinition JSON (see get_check_schema). Returns the updated model JSON to pass to run_unity_checks. Free.

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": {
      "check": "<check>"
    },
    "name": "add_unity_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkYesStringified UnityCheckDefinition JSON (get its schema + an example from get_check_schema)
modelNoStringified FERS model JSON
model_refNoHandle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model_ref / description
      Previous value: -"Handle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."New value: +"Handle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=false and openWorldHint=false, and the description is consistent with that functional style: it appends to the in-memory model and returns the updated JSON rather than persisting anything. It adds useful behavior beyond the annotations by stating the return value, the downstream consumer (run_unity_checks), and that the call is 'Free' (no cost). It does not address duplicate checks or what happens if the model lacks an analysis section, which keeps it at 4.

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?

Three short sentences with the action front-loaded, then the parameter format, then the return value and next step. Every clause carries information; nothing is redundant.

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?

With no output schema, the description correctly covers the return value ('updated model JSON') and its purpose. For a single-required-parameter append tool with full schema coverage, this is nearly complete, missing only edge-case behavior such as invalid check JSON or repeated appends.

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 the schema already documents `check`, `model`, and the `model_ref` alternative in detail. The description only reinforces that `check` is a UnityCheckDefinition JSON and points at get_check_schema, adding little meaning beyond what the schema states.

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?

The description names a specific verb and target: 'Append a unity (code) check to a model's analysis.unity_checks', which tells an agent exactly which field is modified. It also distinguishes the sibling tools by role, pointing to get_check_schema for the payload format and run_unity_checks for the follow-up step.

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?

Usage is clearly implied by the workflow: build the check definition via get_check_schema, append it here, then pass the returned model to run_unity_checks. There is no explicit 'do not use this if...' or statement about when to skip this step, so it falls short of a full 5.

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.