Skip to main content
Glama

Run a trade study

trade
Read-onlyIdempotent

Without study: list the trade studies the model declares (alternatives, objectives, design variables). With study: sweep it and return every point, the Pareto front and the selected alternative.

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": {
      "text": "<text>"
    },
    "name": "trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe complete SysML v2 model text. The server keeps no state: pass the whole current text on every call, and after an edit use the text the edit returned.
studyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the operation read-only, idempotent, closed-world and non-destructive, so safety is covered structurally. The description adds that the sweep returns every point plus a Pareto front and selected alternative, which is genuinely useful output detail in the absence of an output schema. It does not mention the stateless contract (schema carries it) or failure cases such as an unknown study name.

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?

Two parallel clauses, mode-conditional framing up front, no filler. Every phrase carries information about either the trigger or the return content.

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 does the necessary work of describing what each mode returns, and it compensates for the undocumented 'study' parameter. For a two-parameter read-only analysis tool that is close to complete; only error behaviour and the value format of 'study' remain unaddressed.

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 coverage is 50%: 'text' is richly documented in the schema, while 'study' has no schema description at all. The description fills that gap by making 'study' the selector that switches from listing to sweeping. It does not clarify whether the value is a study name, id, or path, leaving a small ambiguity.

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 verb pair and resource: it lists the trade studies a SysML model declares, or sweeps one and returns the points, Pareto front and selected alternative. An agent can tell the two operating modes apart at a glance. It stops short of naming a sibling for contrast, but the split behaviour 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 Guidelines4/5

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

Usage is keyed directly to the optional parameter: omit 'study' to enumerate declared studies, supply it to run the sweep. That is explicit conditional guidance rather than inference. It offers no exclusions or alternative-tool routing, which keeps it below a 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.

Resources