Skip to main content
Glama
aws-samples

Allotrope MCP Server

by aws-samples

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
validate_field_mapA

Validate a field mapping file produced by a custom converter script.

Reads the JSON file at ``field_map_path`` and compares each entry's
``source_value`` against its ``asm_value`` using string equality (primary)
and numeric float equality (fallback). Returns a structured JSON result
with match counts, mismatches, and a summary message.

Args:
    field_map_path: File path to the field mapping JSON file.

Returns:
    JSON string with ``matched``, ``total``, ``mismatches``, and
    ``message`` keys on success, or an ``error`` key on failure.
validate_asm_schemaA

Validate an ASM JSON document against an Allotrope JSON Schema.

Args:
    asm_document_path: File path to the ASM JSON document.
    asm_schema_path: File path to the ASM JSON Schema.

Returns:
    JSON string with validation result.
fetch_asm_documentA

Fetch a raw ASM JSON document from purl.allotrope.org.

Downloads the document identified by ``asm_document_uri`` from the Allotrope
PURL repository and saves it to the local filesystem at a path that mirrors
the URI structure.  If the file already exists it is returned immediately
without re-downloading. ``$ref`` references are
NOT resolved — the document is saved exactly as received.

Args:
    asm_document_uri: Fully-qualified URI starting with
        ``http://purl.allotrope.org``.
    output_dir: Base directory for saving the document.  Defaults to the
        current working directory when empty.

Returns:
    JSON string with a ``path`` key containing the absolute path to the
    saved file, or an ``error`` key with a description on failure.
list_asmsA

List all available Allotrope Simple Models (ASMs).

Retrieves ASM identifiers and descriptions from the local
model_reference.json file bundled with the package.

Returns:
    JSON string with ASM IDs mapped to descriptions, or an
    error key with a description on failure.
describe_asmA

Return the metadata for a specific ASM model by name.

Args:
    model_name: The key identifying the ASM model (e.g. 'automated-reactors').

Returns:
    JSON string containing the model metadata on success, or an error object
    with the unrecognized name and a list of valid model names on failure.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/aws-samples/sample-laboratory-data-transformation-mcp'

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