Skip to main content
Glama

create_cluster_snapshot

Cluster molecules or functional groups by similarity level and freeze the result as an immutable database snapshot for reproducible analysis.

Instructions

Compute connected-components clustering and freeze it immediately into an immutable database snapshot.

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": {
      "target_type": "<target_type>",
      "level": "<level>",
      "title": "<title>"
    },
    "name": "create_cluster_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesSimilarity granularity level (1 to 15)
titleYesDescriptive title for the frozen snapshot (e.g. 'Full Catalog Zero-Singleton Alkaloid Manifold (15)')
target_typeYesTarget entity class: Molecule or FunctionalGroup
full_coverageNoForce 100% catalog coverage (zero singletons)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 the two most important traits: that this is a write/persist operation and that the resulting snapshot is immutable. It omits cost/expense of computing connected components, whether the operation requires the target catalog to already be embedded, whether it overwrites or creates new state, and what happens on failure.

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?

A single dense sentence with the destructive/persistent outcome front-loaded, zero filler. It is appropriately brief, though one more clause on the returned handle or prerequisites would have earned its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Four parameters with full schema coverage and no output schema means the description should at least signal what the caller gets back (a snapshot reference) and any precondition such as existing embeddings. Those are missing, so a moderately complex compute-and-persist tool is left slightly under-described.

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 coverage is 100%, so level, target_type, title and full_coverage are already documented in structured fields. The description only indirectly contextualizes them ('connected-components' hints at how level and full_coverage behave) without adding format, defaults, or interaction rules.

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?

States a specific compound action (compute connected-components clustering) plus a distinct outcome (freeze into an immutable snapshot), which separates it from a plain compute_clusters or a get/list snapshot sibling. It stops short of naming the alternatives, so the differentiation is inferable rather than explicit.

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?

The word 'freeze' and 'immutable' imply the use case (persist a point-in-time clustering artifact), but there is no explicit when-to-use vs compute_clusters, create_cluster_report, or whether re-running on the same targets is expected. An agent must infer the selection rule from the verb choice alone.

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