Skip to main content
Glama

ms_gui_download_cif_import_current

Download CIFs from COD or direct URL, store them in the active session, and import into the open GUI project as current. Ideal for preparing reliable database structures before modeling.

Instructions

Download a CIF from an open supported source or direct CIF URL, store it once in the active task session, optionally import it into the open GUI project, and make it current. Use this before modeling when a reliable database CIF is available. Do not use this to bypass login/license walls; credentialed databases require user-provided existing credentials/API configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoDirect CIF URL, required when source=url.
codIdNoCOD numeric id, required when source=cod.
sourceNoCIF source. Use cod for Crystallography Open Database numeric IDs, or url for a direct CIF link.url
fileNameNoOptional local CIF base name without path.
importToGuiNoIf true, queue an import into the current GUI project after download.
ballAndStickNo
documentNameNoOptional Materials Studio document name. Defaults to the CIF file name with .xsd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0-hardened.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden, and it delivers: it discloses a network download, one-time session storage, optional GUI import, making the document current, and an important authentication/credential caveat. It does not describe overwrite/replacement consequences or behavior when no GUI session/project is active, but the key state-changing behaviors are visible.

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?

Three compact sentences with no filler. The main action chain is front-loaded, the usage guidance is separated, and the caveat about credentialed databases is distinct and necessary. Every sentence earns its place.

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?

For a 7-parameter tool with no output schema and no annotations, the description covers the core call semantics, the modeling workflow context, and the credential limitation. It omits explicit preconditions like requiring an already-started GUI session/project and does not describe return/status values, but the schema handles parameter details and the sibling list provides surrounding context. This is strong, if not exhaustive.

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 86%, so the input schema already documents most parameter meanings. The description mainly reinforces the COD vs. direct URL distinction and optional import behavior, adding little that is not already in the schema. Baseline 3 is appropriate.

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 states an explicit action chain: download a CIF from a source or URL, store it once in the session, optionally import into the GUI project, and make it current. This clearly distinguishes it from siblings like ms_gui_find_cif_import_current and ms_gui_import_current, which do not describe downloading from an external source. The verb and resource are specific and actionable.

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?

It provides a clear when-to-use condition: before modeling when a reliable database CIF is available. It also gives a when-not-to-use boundary around login/license walls and credentialed databases. However, it does not explicitly name alternatives such as ms_gui_import_current for already-downloaded CIF files, so it stops short of full alternative routing.

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