Skip to main content
Glama

repair_apply

Apply an admitted repair to a COMSOL model, creating a new model revision.

Instructions

Apply an admitted repair, creating a new model revision.

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": {
      "repair_id": "<repair_id>"
    },
    "name": "repair_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
admittedNo
repair_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a meaningful side effect (a new model revision is created), but says nothing about whether the previous revision is preserved or overwritten, whether the operation is reversible, what happens if the repair is not admitted, or what failure modes exist.

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?

A single front-loaded sentence with no filler and the mutation outcome stated immediately. It is efficient, though the brevity contributes to the specification gaps elsewhere.

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?

This is a mutating tool with no annotations, no output schema, and zero parameter documentation, so the description would need to do much more. It establishes only the high-level effect and leaves prerequisite state, parameter meanings, and side-effect scope unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description must compensate and does not. 'repair_id' is only obliquely referenced, and the 'admitted' boolean (default false) is never explained, leaving a confusing overlap with the description's own phrase 'admitted repair' — it is unclear whether the caller must set that flag or whether it is output state.

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 gives a specific verb ('Apply') and resource ('repair') plus the concrete outcome ('creating a new model revision'), which distinguishes it from the propose-side sibling repair_propose. It stops short of explicitly naming that sibling or clarifying what an 'admitted' repair is, but the action 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 Guidelines3/5

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

The phrase 'admitted repair' implies a prerequisite state that must be reached before calling this tool, which is useful implied guidance. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative such as repair_propose, so the agent must infer the workflow.

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