Skip to main content
Glama
SorataYang

Qiao-MCP

by SorataYang

plot_analysis_result

Generates contour plots of bridge analysis results for displacements, forces, stresses, and modal shapes. Select result type, stage, load case, and component to get an image or saved path.

Instructions

    Generate an analysis result contour plot (生成分析结果云图).

    By default returns the plot image itself for direct viewing.
    默认直接返回云图图像内容,可在客户端预览。

    Args:
        result_type: Result type (结果类型):
            'displacement'(位移), 'reaction'(反力),
            'beam_force'(梁内力), 'beam_stress'(梁应力),
            'truss_force'(杆内力), 'truss_stress'(杆应力),
            'plate_force'(板内力), 'plate_stress'(板应力),
            'modal'(振型)
        stage_id: Construction stage ID (施工阶段ID):
            -1=operation(运营), 0=envelope(包络), n=stage n (第n阶段)
        case_name: Load case name for operation stage (运营阶段荷载工况名)
        component: Result component to display (显示分量), e.g.
            'uy'(竖向位移), 'mz'(弯矩), 'fx'(轴力), 'sz'(正应力)
            Leave empty to use default component.
        file_path: Output file path (.png). Empty = default directory.
                   输出路径,为空则保存到默认目录
        return_image: Return the PNG as viewable image content; if False, return
                      only the saved path (是否直接返回图像内容,否则仅返回路径)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stage_idNo
case_nameNo
componentNo
file_pathNo
result_typeYes
return_imageNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

The description goes beyond the annotations by explaining the return behavior: by default it returns the plot image, while return_image=False returns only the saved path. It also discloses file_path behavior and default directory handling. It does not mention file overwriting or side effects, but the readOnlyHint=false annotation already signals this is not a read-only operation.

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 front-loaded with the core purpose and default behavior, followed by a structured Args list. The bilingual repetition lengthens it but serves a real audience, and each parameter is covered without excessive fluff. It is slightly longer than strictly necessary but well organized.

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?

Given no output schema and sparse annotations, the description covers all parameters, provides semantic detail for each, and explains the return behavior. It could add a explicit note about running analysis first or about side effects of saving files, but overall it gives enough for an agent to call the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full parameter documentation burden. It compensates thoroughly: result_type lists all valid enum-like values, stage_id explains special meanings (-1, 0, n), component gives concrete examples, and return_image/file_path behavior is fully specified.

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 opens with a specific verb and resource: 'Generate an analysis result contour plot'. It lists allowed result types and clarifies the default return behavior, which makes the tool's purpose concrete and distinguishable from raw-data retrieval or screenshot tools, though it does not explicitly name sibling alternatives.

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 context is reasonably clear: this is for plotting analysis results, with parameters like stage_id, case_name, and result_type implying that it is used after an analysis exists. However, it provides no explicit guidance on when to prefer this tool over alternatives such as get_analysis_results or save_model_screenshot, and no when-not-to-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SorataYang/qiao-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server