Skip to main content
Glama

converge_advice

Get ranked auto-fix suggestions for Abaqus convergence errors. Input a Solver Doctor diagnosis or pattern IDs to receive prioritized, risk-rated code templates and corrective steps.

Instructions

Get auto-fix suggestions for convergence problems diagnosed by the Solver Doctor.

Supports two modes:

  1. From diagnosis: pass the result of diagnose_job as diagnosis_result (JSON string). The advisor extracts error/warning patterns and returns ranked fix suggestions.

  2. Direct: pass comma-separated pattern_ids to get advice for specific patterns.

Each suggestion includes:

  • Priority (1 = try first, 5 = last resort)

  • Risk level (low/medium/high)

  • Code template for the fix (where applicable)

  • Description of what to do

Patterns supported: too_many_attempts, time_increment_too_small, maximum_increments_exceeded, negative_eigenvalues, rigid_body_motion, contact_overclosure, excessive_distortion, explicit_stable_time_too_small, zero_pivot, material_instability, excessive_pivot_ratio.

Args: diagnosis_result: JSON string from diagnose_job output. If provided, pattern_ids is ignored. pattern_ids: Comma-separated pattern IDs (e.g., "too_many_attempts,rigid_body_motion"). Only used if diagnosis_result is empty.

Returns: Markdown-formatted fix suggestions with priority and risk levels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
pattern_idsNo
diagnosis_resultNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 behavioral burden. It discloses output format (Markdown), content of suggestions (priority, risk, code template, description), supported patterns, and mode precedence. It doesn't explicitly state that the operation is read-only, but 'get suggestions/advice' makes that clear enough. Minor gap: no mention of timeout behavior or edge cases.

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 description is well-organized with headers, bullet lists, and clear sections for modes, outputs, supported patterns, and arguments. It is slightly longer than strictly necessary because the pattern list and return details overlap with what the output schema likely covers, but every sentence contributes useful information.

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?

For a two-mode advisory tool, the description covers mode selection, output structure, valid pattern IDs, and the relationship to diagnose_job. It is largely self-sufficient, but omits the timeout parameter and does not specify behavior when both diagnosis_result and pattern_ids are empty, which are minor gaps.

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 0%, so the description must compensate. It thoroughly explains diagnosis_result and pattern_ids, including format, source, and precedence. However, the timeout parameter is completely omitted from the Args section, leaving an agent unable to determine its meaning or default behavior.

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 states a specific verb ('Get auto-fix suggestions'), resource ('convergence problems diagnosed by the Solver Doctor'), and clearly distinguishes itself from siblings by being the advice tool tied to diagnose_job. It also explains both usage modes, so an agent can tell this apart from other analysis tools without needing to inspect 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?

Explicitly documents two modes: from diagnosis_result (output of diagnose_job) or direct pattern_ids, with a clear precedence rule ('If provided, pattern_ids is ignored'). It names the companion tool diagnose_job. It could be more explicit about when not to use it or what to do if no diagnosis is available, but the mode-based guidance is strong.

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