Skip to main content
Glama

export_results_to_json

Convert AFSIM result files (CSV, EVT, AER) to JSON format for easier data analysis and integration.

Instructions

Convert a result file (.csv, .evt, .aer) to JSON format.

Parameters

file_path: Path to the source result file. output_path: Destination JSON path (defaults to same name with .json extension).

Returns

JSON with the output file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses the conversion action and return format but fails to mention critical behavioral traits such as whether existing output files are overwritten, required permissions, error handling, or side effects on source files.

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?

The description is concise at ~50 words, structured with parameters and returns sections, and front-loaded with the main purpose. Every sentence adds value, no redundancy.

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 the tool's simplicity (2 parameters, supported formats listed) and presence of an output schema, the description is largely complete. It explains the return value and covers main behavior. However, it could mention whether the conversion is lossy or preserves all data.

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%, but the description adds meaning for both parameters: file_path is the source path, output_path defaults to same name with .json extension (though schema default is empty string, creating slight inconsistency). This partially compensates but could be more precise (e.g., clarifying 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 clearly states the tool converts specific result file formats (.csv, .evt, .aer) to JSON format, using a specific verb 'convert' and resource 'result file to JSON'. This distinguishes it from sibling tools like query_csv_results which query data rather than convert formats.

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?

The description implicitly indicates usage when a JSON output file is needed from supported result files. However, it does not explicitly state when to avoid this tool or mention alternatives, such as using query tools for in-memory results. The context is clear but lacks explicit exclusions.

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/Yookio-Z/AFSIM_MCP'

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