Skip to main content
Glama

References Count

references_count
Read-onlyIdempotent

"How many references does paper [DOI] have" / "how big is the bibliography of [paper]", outgoing reference count for a DOI. Fast version of references when you only need the number.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doi": "10.1371/journal.pone.0123456"
    },
    "name": "references_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiYes

Output Schema

NameRequiredDescriptionDefault
countNoOutgoing reference count for the DOI

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "doi": "10.1371/journal.pone.0123456"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Outgoing reference count for the DOI",
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, and an output schema covers the return value, so the description's burden is light. It adds only the 'fast, count-only' characterization; it does not say what happens when the DOI is unknown, whether a zero count or an error is returned, or whether coverage is limited to a particular index.

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 sentences with zero filler, leading with the user-phrasing that makes intent matching easy and closing with the disambiguation from `references`. The quoted example questions are slightly informal but earn their place by aiding intent recognition.

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

Completeness4/5

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

For a single-parameter read tool with full annotation coverage and an output schema, the description supplies what is needed to select and invoke it. The only real gap is error/not-found behavior for an unindexed DOI, which is a minor omission at this complexity.

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 description coverage is 0%, so the description must carry the DOI parameter, and it does reference the DOI twice. However, that is essentially a restatement of the property name `doi`; it adds no format, prefix, normalization or resolution guidance beyond what the schema's example already shows.

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 names a specific verb and resource — the outgoing reference count for a DOI — and explicitly contrasts it with the `references` tool it abbreviates. The word 'outgoing' also implicitly separates it from inbound-citation tools, so an agent can place it without opening the schema.

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

Usage Guidelines4/5

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

It gives a clear selection rule: use this instead of `references` when you only need the number. That names both the alternative and the condition for choosing it. It stops short of stating when-not to use it (e.g. invalid/unindexed DOIs) or what the fuller `references` call returns differently.

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.