Skip to main content
Glama
enkiEng

Fortran Companion MCP Server

by enkiEng

initialize_project

Initialize a modern Fortran project at a given path with a project name, using fpm if available or creating a standard Makefile layout.

Instructions

Initializes a new, modern Fortran project at the specified path. Uses fpm if available, or bootstraps a standard layout with a Makefile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYesThe directory path to create the project in.
project_nameYesThe name of the project.
fortran_versionNoThe Fortran standard version to configure (e.g. 'f90', 'f95', 'f2003', 'f2008', 'f2018', 'f2023'). Defaults to 'f2018'.f2018

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It mentions initialization at a path and the two strategies (fpm or Makefile), but does not specify side effects like overwriting existing files, error conditions, or permissions requirements. Some behavioral traits are implied but not fully transparent.

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 a single, information-dense sentence. It is front-loaded with the core purpose and efficiently communicates the key behavioral choice. No unnecessary words.

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 three parameters and presence of an output schema, the description covers the essential functionality. It explains the high-level behavior and method selection. However, it omits details like whether a subdirectory is created or if version control is initialized, which could be inferred but are not explicit.

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 100%, so the baseline is 3. The description does not add additional meaning beyond the schema; it restates project path and name and mentions Fortran version only implicitly via 'modern Fortran'. No new parameter context is provided.

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 initializes a new Fortran project, specifying the method (fpm or Makefile). It distinguishes from sibling scaffolding tools like scaffold_hpc_grid and scaffold_unit_test by focusing on general project setup.

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 implies use for new Fortran projects, but lacks explicit when-to-use or when-not-to-use guidelines relative to siblings. It mentions fpm availability, which helps decision-making, but no exclusions or alternatives.

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/enkiEng/fortran-mcp'

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