Simplified MOF (Metal-Organic Framework) research tools via MCP for structure parsing, static calculations, geometry optimization, bandgap prediction, adsorption prediction, and structure fetching from the QMOF database
Static source inference · medium confidence · evidence: Streamable HTTP
Current-spec patterns detected
Summary
MOF Tools presents a domain-specialized MCP server with 6 scientific computing tools. Naming conventions are reasonable and action-oriented (parse_structure, optimize_geometry, predict_bandgap). Tool descriptions exist and explain the scientific purpose, but are formulaic and lack explicit guidance on when to use each tool vs. alternatives. Parameter schemas are well-typed with JSON Schema definitions including type, description, defaults, min/max bounds, and enums where appropriate. However, descriptions are moderately detailed (~100-150 chars) but do not follow LLM-optimized patterns, they lack dependency hints, prerequisites, or recovery guidance. Output schemas are NOT documented in the source code provided; we can infer return types from tool names and descriptions but lack explicit field-level documentation. Error handling is not evident in the source, no guidance on retryability, user-fixable errors, or recovery paths. The ToolRegistry pattern is well-designed for internal tool management but does not translate to stronger MCP protocol affordances.
Tools (6)
fetch_structureread onlysource verified72/100
Fetch MOF structural information and metadata from the QMOF database.
optimize_geometrywritesource verified82/100
Perform geometry optimization using DPA machine-learning force fields.
parse_structureread onlysource verified74/100
Load and validate structure data into ASE Atoms object.
predict_adsorptionread onlysource verified77/100
Predict the gas adsorption amount of a MOF structure using a DPA-based property model.
predict_bandgapread onlysource verified70/100
Predict the electronic bandgap of a MOF structure using a DPA-based property model.
static_calculationread onlysource verified78/100
Perform static energy evaluation using DPA model without modifying geometry. Computes total energy, forces, and virial in a non-iterative manner.
Document output schemas for all 6 tools. For each tool, define a structured response object with field names, types, units, and example values. E.g., static_calculation returns {energy: float (eV), forces: array (eV/Å), virial: array (eV)}. Add these to tool definitions in the MCP server registration or a schema file referenced in the source.
Add error handling guidance to tool descriptions. For each tool, document one or two common failure modes and suggest recovery steps. E.g., optimize_geometry: 'If optimization fails to converge, try increasing max_steps or loosening fmax. If structure is invalid, call parse_structure() first.'
Add bounds to numeric parameters. predict_adsorption: pressure range (e.g., 0.01 - 100 Bar), temperature range (250 - 500 K). optimize_geometry: fmax range (0.01 - 1.0 eV/Å), max_steps already capped at 1000 (good). Prevent physically impossible inputs.
Add dependency hints to compute tool descriptions. E.g., 'First, call parse_structure() to load a structure or fetch_structure() to retrieve from QMOF. Then pass the atoms_dict output to this tool.' This guides multi-step workflows and reduces wasted calls.
Expand tool descriptions to explain use cases and differentiation. E.g., static_calculation: 'Use this for quick energy evaluation without geometry changes, good for comparing pre-optimized structures or computing properties at fixed geometries.' optimize_geometry: 'Use this to find the lowest-energy conformation, slower but required before property predictions for best accuracy.' predict_bandgap vs. predict_adsorption: explain domain (electronics vs. storage) so agents choose the right property.
fetch_structure parameter format not formally constrained
fetch_structure
Document the atoms_dict parameter structure explicitly. Add a schema note: 'ASE Atoms dict with required keys: positions (float array, Nx3), numbers (int array, N), cell (float array, 3x3), pbc (bool array, 3).' This prevents silent failures and guides downstream composition.
Add tool annotations to schemas (readOnlyHint, destructiveHint, idempotentHint per MCP 2026-07-28 spec). Mark optimize_geometry with destructiveHint: true; all others readOnlyHint: true. This signals agent caution and enables audit trail classification.
For fetch_structure, constrain mof_id with a regex pattern matching QMOF ID format (e.g., '^qmof-[a-f0-9]{8}$') or return helpful error messages if the ID is invalid, suggesting similar IDs from the database.
Add pagination/limits guidance to tools that might return large results (fetch_structure if it includes full atom lists). Recommend a summary return (e.g., formula, symmetry, lattice parameters) vs. full coordinate lists, and document limits in the description.
Provide example invocations in a separate examples section or inline in tool descriptions, showing realistic parameter combinations. E.g., optimize_geometry example: fmax=0.01 eV/Å (tight), max_steps=500, optimizer='BFGS' for robust convergence.