Skip to main content
Glama

Link to edit in HexSketch

structure_link
Read-only

A link that opens the structure in HexSketch (in the browser, nothing to install), where the user can edit it by drawing and copy it back. Give it to the user whenever they may want to change a structure.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "structure": "<structure>"
    },
    "name": "structure_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoDrawing style: hexsketch (default) or acs (ACS 1996 journal style).
structureYesThe structure: SMILES (e.g. "CC(=O)Oc1ccccc1C(=O)O"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: the link opens in a browser with nothing to install, the user edits by drawing, and changes can be copied back — clarifying the round-trip workflow. It does not state the return format (a URL string), which keeps it from a 5.

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?

Two tight sentences with zero filler: the first defines what the link is and does, the second states when to hand it over. The usage instruction is front-loaded where an agent will read it.

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 read-only, two-parameter tool with a fully documented schema and no output schema, the description covers the purpose, the user-facing behavior, and the workflow. The one gap is that it never says the tool returns a URL string, though the purpose makes that largely inferable.

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%, with the structure parameter documenting accepted formats (SMILES, molfile, CDXML, HexSketch link) and the style enum explaining hexsketch vs acs. The description adds no parameter detail beyond implying the structure is the input, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete resource and outcome: a link that opens the given structure in HexSketch in the browser, where the user can edit by drawing and copy it back. That implicitly separates it from siblings like render_structure (static output) and sketch_sync (state sync), though no sibling is named explicitly.

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?

"Give it to the user whenever they may want to change a structure" is a clear, actionable trigger condition. It stops short of naming alternatives or stating when not to use it (e.g. when a static image is wanted instead), so it falls below the explicit when/when-not/alternative bar.

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.