Skip to main content
Glama

Link Paper To Result

link_paper_to_result

Link a paper to a provenance result using link types such as DATA_SOURCE, EQUATION_SOURCE, VALIDATES, CONTRADICTS, or INFORMS to record how evidence supports or challenges that result.

Instructions

Link a paper to a provenance result.

link_type: DATA_SOURCE, EQUATION_SOURCE, VALIDATES, CONTRADICTS, INFORMS

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": {
      "cite_key": "<cite_key>",
      "domain_key": "<domain_key>",
      "result_name": "<result_name>",
      "link_type": "<link_type>"
    },
    "name": "link_paper_to_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
cite_keyYes
link_typeYes
domain_keyYes
result_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool and does not meet it. It does not say whether the link is idempotent, whether re-linking with a different link_type replaces or conflicts with the prior link, whether existence of the paper/result is validated, or what errors occur on bad keys.

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?

Two short lines, operation first and the link_type vocabulary second. Nothing is padded, though the enumerated values would read better as a list tied explicitly to the link_type parameter rather than a bare trailing line.

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?

An output schema exists, so return values need not be described. For a four-required-parameter mutation with zero annotation coverage, however, the definition is thin: key formats, existence requirements, and duplicate-handling behavior are all absent.

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?

Schema coverage is 0% across 5 parameters, so the description must compensate. It does add real value by enumerating the five link_type values (DATA_SOURCE, EQUATION_SOURCE, VALIDATES, CONTRADICTS, INFORMS), which the schema leaves as an unconstrained string. But cite_key, domain_key, result_name, and notes are entirely unexplained, leaving four of five parameters undocumented in both places.

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?

States a specific verb and resource: 'Link a paper to a provenance result.' An agent knows exactly the operation being performed. It does not, however, differentiate itself from siblings like link_results or record_paper, nor explain whether this creates a new link record or replaces an existing one.

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

Usage Guidelines2/5

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

No guidance on when to choose this tool over link_results or record_paper, no prerequisites (must the cite_key and result_name already exist?), and no mention of what happens on duplicate links. The only usage-adjacent content is the link_type vocabulary, which is parameter-level rather than selection guidance.

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