Skip to main content
Glama

analyze_cell_communication

Idempotent

Analyze cell-cell communication and ligand-receptor interaction patterns from spatial transcriptomics data. Supports multiple species and methods for comprehensive signaling network analysis.

Instructions

Analyze cell-cell communication and ligand-receptor interaction patterns.

Args:
    data_id: Dataset ID
    params: Required - species, cell_type_key, and method. For mouse with liana, set liana_resource='mouseconsensus'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
data_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
data_idYes
speciesYes
databaseYes
n_lr_pairsYes
statisticsNo
results_keyNoccc
top_lr_pairsNo
analysis_typeYes
n_autocrine_loopsNo
n_significant_pairsYes
top_autocrine_loopsNo
Behavior2/5

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

Annotations indicate readOnlyHint=false (mutation) and idempotentHint=true. The description adds no behavioral context beyond 'analyze,' which is vague. It does not disclose potential side effects, data creation, or performance implications, leaving the agent with limited understanding of tool behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise, fitting in one sentence and an Args block. While it avoids verbosity, it lacks structure and could better organize parameter details. The brevity is acceptable but misses opportunities for clarity.

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

Completeness2/5

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

Given the tool's complexity (many parameters, nested input) and the presence of an output schema, the description is incomplete. It does not explain return values, output format, or what results are generated. The schema covers parameters well, but the tool's purpose and outputs are under-described.

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

Parameters2/5

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

The description mentions only four parameters (data_id, species, cell_type_key, method) and provides a specific tip for liana_resource. With schema description coverage at 0%, the description should compensate but fails to explain the many other parameters. The schema itself has descriptions, so baseline is 3, but the description's minimal addition reduces the score.

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 clearly states the tool's purpose: 'Analyze cell-cell communication and ligand-receptor interaction patterns.' This verb-resource pair is specific and distinguishes it from sibling tools like analyze_enrichment or analyze_spatial_statistics.

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 provides some usage guidance by listing required parameters and a special case for mouse data with liana. However, it lacks explicit direction on when to choose this tool over alternatives, such as comparing conditions or analyzing spatial statistics. The method constraints per species are noted but not fully integrated into usage scenarios.

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