Skip to main content
Glama

Name a structure

name_structure
Read-only

The IUPAC name of a structure, generated offline. Returns name null with a reason when the structure is outside what HexSketch names.

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": "name_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.8/5.0
Behavior4/5

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

The annotations already establish that the operation is a safe read of a closed system (readOnlyHint=true, openWorldHint=false). The description adds real behavioral context beyond the annotations: naming happens offline, and unsupported structures produce a null name plus a reason instead of an error or a silently wrong result. It does not state the cost or latency of the operation, or the exact shape of the success response.

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 sentences, with the core value front-loaded, and the failure mode stated second. No filler and no restating of the title.

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?

There is no output schema, so the description must carry return-value information, and it does partly: it reveals that the return has a name field that can be null, plus a reason. It does not describe the shape of a successful result or how the reason text should be interpreted, but for a single-input tool it is close to complete.

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?

There is only one parameter, and its schema description covers it 100%, listing SMILES, molfile/CDXML text, or HexSketch link formats and warning 'Not a name'. The prose adds no format or syntax detail beyond that, so the score sits at the baseline for full schema coverage.

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 names a specific verb and resource: it returns the IUPAC name of a structure. It also says the name is 'generated offline', which separates it from a generic convert or render tool; however, it never explicitly positions itself against siblings such as convert_structure or analyze_structure.

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?

Usage is implied by the purpose: give it a structure, and get the name back. The only explicit guidance is a fallback condition, in which the name comes back null with a reason when the structure falls outside what HexSketch can name. Nothing tells an agent when to prefer this tool over a sibling.

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.