Skip to main content
Glama

CovaSyn Chemistry Tools

covabasic_image_to_smiles

Convert a chemical structure image to SMILES via Mathpix OCR. Input: base64-encoded PNG/JPG of a drawn molecule. Returns SMILES, confidence, and all detected structures. Requires Mathpix API credentials on server.

Input Schema

NameRequiredDescriptionDefault
api_keyNo
image_base64Yes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two useful traits: an external dependency ('Requires Mathpix API credentials on server') and the return payload (SMILES, confidence, detected structures). It omits error behavior, image size/format limits, and rate/cost considerations of the OCR call, so gaps remain for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences that front-load the purpose, then input, then output/dependency. Very little waste, though the 'Returns ...' sentence partially duplicates information the output schema already provides.

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 an output schema exists, the description need not explain return values, and it still covers the essential input and auth prerequisites. Only failure modes and input constraints are missing, which is a modest gap for a single required-parameter tool.

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%, so the description must compensate; it explains image_base64 well (base64 PNG/JPG of a drawn molecule) but says nothing about the optional api_key parameter, leaving the relationship between that parameter and the 'credentials on server' statement ambiguous.

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?

States a precise verb and resource ('Convert a chemical structure image to SMILES') and names the mechanism ('via Mathpix OCR'), which clearly separates it from the many text/structure-based siblings that take SMILES or spectra rather than an image.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use it by specifying the input format ('base64-encoded PNG/JPG of a drawn molecule'), which is enough for an agent to route image inputs here, but it names no alternatives and gives no explicit exclusion criteria versus other conversion tools like covabasic_convert_format or covabasic_iupac_name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.