Skip to main content
Glama

deconvolve_data

Estimate cell type proportions in spatial transcriptomics data by deconvolving spots using a single-cell reference and chosen method.

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
data_idYes
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_idYes
methodYes
dominant_type_keyYes
cell_typesYes
n_cell_typesYes
proportions_keyYes
n_spotsNo
genes_usedNo
statisticsNo
Behavior3/5

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

Annotations indicate non-read-only, non-idempotent, open world. Description implies computation but does not disclose side effects (e.g., data mutation, resource use). No contradiction with annotations.

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, front-loaded with action, no wasted words. Efficiently directs to parameter details.

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 complex nested schema and many methods, description lacks guidance on method selection or typical use cases. Output schema exists but not shown, so return format is expected.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds value beyond schema by clarifying required fields (method, reference_data_id) which are not marked required in schema. Directs to DeconvolutionParameters for details.

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?

Description clearly states verb (deconvolve), resource (spatial spots), and outcome (estimate cell type proportions). Distinct from sibling tools like annotate_cell_types or analyze_cell_communication.

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?

Description lists required parameters but does not explain when to use this tool vs alternatives or provide prerequisites. No explicit guidance on method selection.

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