# Herramientas del MCP

Las herramientas que el servidor MCP de Rischio le da a un agente: qué hace cada una, qué recibe y si solo lee o también cambia tus modelos.

Estas son las herramientas que usa un agente conectado a Rischio, tal como el servidor se las describe: en inglés, que es lo que el agente lee. Para conectar uno, mira [Conecta tu agente](https://rischio.io/es/docs/ai/mcp/).

Lo primero que el servidor le dice a todo agente:

> Rischio designs retaining walls, footings, piles and open channels, and its engine calculates every number, as in the studio's editor. To build a model, call list\_tools for the tools, their templates and each one's contract\_version, and get\_tool\_schema for a tool's parameters in the mode of the model, with the rules a model of it is built by: follow both. Then create\_model, from a template or with parameters, and calculate\_model to run its checks; change it with update\_model and calculate again. Where checks fail, suggest\_fixes says what to resize and to what. A model is judged in free mode (no design code: only the limits in design.limits give a verdict, and what the codes and manuals ask comes beside each check) or by a design code (AASHTO LRFD); a new one starts in the user's. Switching it is a change of design.code with what the new mode asks, as its schema says. Every model's parameters carry the tool's contract\_version; a model get\_model reads is already on it. A schema's x- marks: x-unit is each number's unit (null where it has none), x-catalog the sections a designation names, x-sized that suggest\_fixes can size the design; x-group, x-in, x-added and advanced only say where the studio shows a field. Results give each check with its trace, the quantities those traces name (get\_model reads any other by its id), the warnings, and each method: who chose it and why, what it moves, which other options would move a number. Parameters and results are SI, whatever units the user reads a model in (si or us, as get\_model says; create\_model and update\_model set them): a number the user gives in another unit goes in as text with it ("125 pcf"), which Rischio converts exactly, and you answer in the user's units. Calculations are limited per user: don't use them for sweeps or Monte Carlo studies. Models can't be deleted here.

## Las herramientas

### list\_tools

Solo lee

List Rischio's tools

Rischio's design tools (retaining walls, footings, piles and open channels): what each models, its contract\_version (every model's parameters carry it) and its templates, complete models to start from. Call get\_tool\_schema for a tool's parameters and how a model of it is built.

### get\_tool\_schema

Solo lee

Get a tool's parameters

A tool's parameters for a model in one mode, as a JSON Schema: every field that mode takes, what it is and its unit (SI: kN, m, kPa, kN/m³, degrees), and the fields it requires; with the rules a model of the tool is built by. A model's parameters, in create\_model and update\_model, follow it, design.code its mode.

tool\*

"retaining-wall" | "shallow-foundation" | "deep-foundation" | "open-channel"

code

"free\_mode" | "aashto\_lrfd\_10" · The mode of the model being built, its design.code: free\_mode, or a design code (aashto\_lrfd\_10). Without it, the user's: the mode a new model starts in. The channel has none.

### list\_models

Solo lee

List my models

The user's models, newest first: id, name, tool, whether its results pass or fail (null when never calculated), whether they are out of date, and its page in the studio.

### get\_model

Solo lee

Get a model

A model's parameters and, once calculated, its results: each check with its value, its trace and, where it has a limit (the user's in free mode, or the code's), the limit and whether it passes; the quantities the checks' traces name, and any other asked for by its id; each method it used, who chose it and why, and the checks it moves (methods); and the warnings. A model the engine's new contract migrated says what that dropped or changed of its parameters (upgrade\_notes: each at the path it speaks of, "" the model) until it's calculated again. With its page and its report in the studio. Its parameters and results are SI whatever units the user reads it in (units: si or us, US customary).

id\*

string · The model's id, as list\_models gives it.

quantities

array · Quantities to read too, by their ids, each with its trace: a trace's terms name the quantities it comes from.

### create\_model

Cambia tus modelos

Create a model

Creates a model of a tool, from one of its templates (list\_tools) or from parameters that follow its schema (get\_tool\_schema). It starts in the user's mode (free mode, or the design code they work by) unless the parameters name one in design.code, and in the user's units unless units says. The engine checks the parameters first; if it rejects them, it says which field and why. The model isn't calculated: calculate\_model does it.

tool\*

"retaining-wall" | "shallow-foundation" | "deep-foundation" | "open-channel"

name\*

string

template

string · A template's filename, from list\_tools.

parameters

object · The model's parameters, as the tool's schema says.

units

"si" | "us" · The units the user reads the model in: si, or us (US customary). Its parameters and results stay SI either way.

### update\_model

Cambia tus modelos

Update a model

Renames a model, switches the units the user reads it in, or replaces its parameters with new ones (all of them, as get\_model gives them, with your changes; another mode is another design.code, with what its schema asks). Give the version get\_model gave: if the model changed since (the user may be editing it in the studio), it's refused, and you read it again. The engine checks the parameters first; if it rejects them, it says which field and why. Results calculated before stay, marked out of date, until calculate\_model.

id\*

string · The model's id, as list\_models gives it.

version\*

integer · The model's version, as get\_model (or the last change) gave it.

name

string

units

"si" | "us" · The units the user reads the model in: si, or us (US customary). Its parameters and results stay SI either way.

parameters

object · The model's parameters, all of them.

### calculate\_model

Cambia tus modelos

Calculate a model

Runs the engine on a model: each check with its value, its trace and, where it has a limit, the limit and whether it passes (in free mode only the user's limits, design.limits, give a verdict, and what the codes and manuals ask comes beside each check as limit\_references; under a code, the code's), the quantities the checks' traces name (get\_model reads any other), each method it used (methods: who chose it, by = data, code, designer or default, and why; the checks it moves; the other options that would move a number; how close the data are to switching it), the warnings, and the report's address. Calculations are limited: 30 a minute and 500 a day for each user.

id\*

string · The model's id, as list\_models gives it.

### suggest\_fixes

Solo lee

Suggest how to fix a model

For a calculated model whose checks fail, how to fix it, as the editor's How to fix it says: each part of the design the engine sizes (a footing's size and its depth; a wall's base and its embedment, a gabion wall's back face, an MSE wall's reinforcement, a cantilever's bars closer, face by face, and a face's cover up to AASHTO's least; a pile's length and its section, and more piles), with its fields, their values now and the ones that fix it (SI, in the steps it's built in, in the model's units; none where it fixes nothing), the checks it fixes and those that still fail, and \`along\`, the bars that come closer with it where its new size would fail them (apply them together). Never the ground or a load. Apply one with update\_model, then calculate\_model. It counts as one calculation; asked again of the same results, it answers what it found. A channel has nothing to size.

id\*

string · The model's id, as list\_models gives it.

\* obligatorio

El servidor también ofrece prompts: pedidos listos para correr, que tu agente muestra como comandos. Están en [Conecta tu agente](https://rischio.io/es/docs/ai/mcp/), en Pruébalo.

---

Source: https://rischio.io/es/docs/ai/mcp-tools/
