Skip to main content
Glama

Get PubTator3 entity relations

get_pubtator3_entity_relations
Read-onlyIdempotent

Retrieve text-mined biomedical relationships such as associate, treat, cause, or inhibit for one or two entities to support literature-based research and curation.

Instructions

Retrieve text-mined biomedical relationships (associate, treat, cause, inhibit, etc.) for one or two entities.

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": {
      "entity1": "<entity1>"
    },
    "name": "get_pubtator3_entity_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum relations to return (default 15, max 50).
entity1YesPrimary entity ID (e.g. "@GENE_BRCA1") or name (e.g. "BRCA1").
entity2NoOptional second entity ID or name to inspect pairwise relations.
relation_typeNoOptional relation type (e.g. "associate", "treat", "cause", "inhibit").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds meaningful context beyond that with "text-mined," signaling the relations are literature-mined rather than curated, but it says nothing about result volume, the 50-record cap, or whether empty results are common for sparse entities.

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 front-loaded sentence with the verb first and no wasted clauses. The parenthetical relation examples are the only extra weight, and they earn their place by illustrating the domain vocabulary an agent would otherwise have to guess.

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?

With no output schema, the description carries some burden for explaining what comes back, and it does not describe the response shape (e.g., whether records include publication IDs, relation scores, or counts). The input side is fully covered by the schema, so the gap is limited to return-value expectations and result limits.

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?

Schema coverage is 100%, so all four parameters are documented in the schema itself, making 3 the baseline. The description still adds a small amount of meaning by clarifying that the entity inputs can be a pair (pairwise relations) and by enumerating relation types with "etc.", which hints the relation_type filter is open-ended rather than enumerated.

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?

The description names a specific verb ("Retrieve"), a specific resource ("text-mined biomedical relationships"), and the scope ("one or two entities"), with concrete relation-type examples. It does not, however, distinguish this from the similarly named sibling find_pubtator3_related_entities, leaving an agent to guess which relation-lookup path is intended.

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?

Usage is only implied: the phrase "for one or two entities" hints that single-entity and pairwise lookups are both supported, but there is no explicit when-to-use, when-not-to-use, or named alternative. Given a sibling that also deals with related entities, an explicit routing sentence would be considerably more valuable.

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