Skip to main content
Glama

deconvolve_data

Destructive

Estimate cell type proportions from spatial transcriptomics spots by matching them against single-cell reference data with multiple methods.

Instructions

Deconvolve spatial spots to estimate cell type proportions.

Args:
    data_id: Dataset ID
    params: Required - method, cell_type_key, reference_data_id. See DeconvolutionParameters for all methods and options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
data_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
data_idYes
n_spotsNo
warningsNoNon-fatal conditions that may affect result interpretation.
cell_typesYes
genes_usedNo
n_cell_typesYes
proportions_keyYes
dominant_type_keyYes
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is externally known. However, the description adds no behavioral transparency beyond the basic operation—it does not mention overwriting previous results, requiring pre-loaded reference data, compute time, or other runtime effects.

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?

The description is compact and well-structured: one sentence of purpose, one sentence of parameter pointers. It is front-loaded with the core purpose and avoids unnecessary elaboration, making every sentence earn 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?

Given the tool's high complexity (8 deconvolution methods and many method-specific parameters), the description is minimal but not fatally incomplete because the schema and annotations carry substantial detail. Still, it lacks guidance on method selection, data prerequisites, or expected outcomes, leaving the agent to rely heavily on structured fields.

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?

The description compensates for the 0% schema coverage by explicitly naming the effectively required trio: method, cell_type_key, and reference_data_id. This goes beyond the schema, which only marks cell_type_key as required. However, it does not explain the meaning of each parameter or how to choose methods, deferring entirely to DeconvolutionParameters.

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 starts with the specific action verb 'Deconvolve' on 'spatial spots' and clearly states the outcome: 'estimate cell type proportions.' This uniquely distinguishes the tool from siblings like analyze_spatial_statistics or identify_spatial_domains, which have different analytical goals.

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 description implies usage when cell type proportion estimates are needed, but it provides no explicit when-to-use/when-not-to-use guidance or alternatives among sibling tools. The only additional guidance is a list of required parameters, which is more about invocation than usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cafferychen777/ChatSpatial'

If you have feedback or need assistance with the MCP directory API, please join our Discord server