Skip to main content
Glama

STRING Database MCP Server

STRING: Get interactions within query set

string_interactions_query_set

Retrieves the interactions between the query proteins. Use this method only when you specifically need to list the interactions between all proteins in your query set. If user asks for 'physical' or 'complex' use 'physical' network type.

  • For a single protein, the network includes that protein and its top 10 most likely interaction partners, plus all interactions among those partners.

  • For multiple proteins, the network includes all direct interactions between them.

  • If the user refers to "physical interactions", "complexes", or "binding", set the network type to "physical".

  • STRING does not store or report information about self-interactions/homomers; if asked, explain the limitation.

If few or no interactions are returned, consider reducing the required_score.

For large query sets (>50 proteins), consider increasing the required_score (e.g. ≥700) to focus on high-confidence interactions and avoid overly dense networks.

  • Expand the names of score sources:
    nscore (neighborhood), fscore (fusion), pscore (phylogenetic profile),
    ascore (coexpression), escore (experimental), dscore (database), tscore (text-mining)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
speciesNo
proteinsYesRequired. One or more protein identifiers, separated by carriage return (%0d). Example: SMO%0dTP53
network_typeNo
extend_networkNo
required_scoreNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and succeeds. It discloses behavior for single vs multiple proteins, the default 10 partners, the physical network type mapping, the lack of self-interactions/homomers and how to handle such queries, and the effect of required_score adjustments.

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 well-structured with a clear opening purpose, followed by actionable use cases, behavior notes, tuning advice, and a final score-source legend. Each sentence earns its place; the use of bullets and bold improves readability without being verbose.

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

Completeness5/5

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

For a complex tool with 5 parameters and no annotations, the description covers the essential behavioral aspects, limitations, parameter tuning, and even auxiliary knowledge (score source names). Combined with the input schema (which documents parameter formats) and the presence of an output schema, this is complete enough for effective tool usage.

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?

The description adds valuable meaning beyond the schema, especially for network_type ('set physical only for binding, complex, or co-complex questions'), required_score (when to reduce or increase threshold), and the expansion of score source abbreviations. However, it does not explicitly explain the proteins format or species, which the schema partially does; given low schema coverage, this is a minor gap.

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 'Retrieves the interactions between the query proteins' with a specific verb and resource, and further distinguishes its scope with 'Use this method only when you specifically need to list the interactions between all proteins in your query set.' This differentiates it from sibling tools like string_all_interaction_partners.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit guidance on when to use: 'only when you specifically need to list the interactions between all proteins in your query set.' It also covers network type selection, single vs multiple protein behavior, and parameter tuning (reducing required_score for sparse results, increasing for large sets). These are clear contextual instructions for the agent.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Several tool pairs have overlapping purposes: string_network_link and string_visual_network both return network URLs with nearly identical behavior, and string_all_interaction_partners vs string_interactions_query_set both query interactions, differing subtly in scope. The enrichment/annotation tools also share boundaries, making it difficult for agents to disambiguate without reading detailed descriptions.

Naming Consistency3/5

All tools share the 'string_' prefix, but the pattern is inconsistent: some are verb-first (create_file, resolve_proteins), some are noun-first (interactions_query_set, network_link), and some are bare nouns (enrichment, homology). This mixed convention reduces predictability.

Tool Count4/5

At 17 tools, the server is slightly above the ideal range, but it covers a broad domain: interactions, networks, enrichment, annotation, homology, species resolution, and sequence search. The count is justified by the complexity of the STRING database.

Completeness4/5

The tool set covers core STRING workflows: querying interactions, constructing networks, computing enrichment, retrieving annotations, identifying homologs, mapping IDs, and exporting data. Minor gaps exist (e.g., direct edge-list tables and intricate interaction score details), but the overall surface is robust.