Skip to main content
Glama

corpus_bind

Bind extracted study records to local full texts and bibliography entries by DOI, title, or record ID; report citation coverage and emit BibTeX for uncited records.

Instructions

Bind extracted study records to local full texts and bibliography entries by DOI, title and record id; report citation coverage and emit BibTeX for uncited records.

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": {
      "workspace": "<workspace>"
    },
    "name": "corpus_bind"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsNo
workspaceYes
emit_bibtexNo
records_pathNo
fulltext_rootNo
bibliography_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.2.0
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "bibliography_path": {
      +    "type": "string"
      +  },
      +  "emit_bibtex": {
      +    "default": false,
      +    "type": "boolean"
      +  },
      +  "fulltext_root": {
      +    "type": "string"
      +  },
      +  "records": {
      +    "type": "array"
      +  },
      +  "records_path": {
      +    "type": "string"
      +  },
      +  "workspace": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace"
      +]
  2. First observedv4.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It never says whether files are written to disk (bibliography_path, fulltext_root, records_path suggest I/O), whether the operation is idempotent, how unmatched records are handled, or what the emitted BibTeX is returned as versus saved as. Only the 'report citation coverage' side effect is hinted at.

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 covering the three sub-actions in order, with no filler. The semicolon-clause structure is dense but readable and reasonably efficient.

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?

For a six-parameter, no-output-schema, no-annotation tool that apparently touches several files, the description is too thin. It omits output shape (coverage report fields), failure modes for unmatched DOIs/titles, and whether BibTeX is written or returned.

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?

Schema description coverage is 0% across 6 parameters, so the description must compensate but does not. It never explains workspace, the difference between the inline records array and records_path, what fulltext_root or bibliography_path point at, or that emit_bibtex defaults to false; 'DOI, title and record id' are record fields, not parameter names.

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 concrete verbs and resources: bind extracted study records to local full texts and bibliography entries via DOI/title/record id, plus report coverage and emit BibTeX. It reads as a distinct corpus/bibliography operation with no obvious overlap with the sibling names, though it does not explicitly differentiate itself from any of them.

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?

There is no when-to-use or when-not-to-use guidance, no stated prerequisites (e.g. that records must first be extracted), and no named alternative. An agent must infer that this is a mid-pipeline step after extraction and before citation checking.

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