Skip to main content
Glama
litMcp

litMcp

by L1nze

Library Stats

library_stats

Summarize your local literature collection to review total works, year range, abstract/full-text coverage, open-access rate, top sources, and top concepts before searching.

Instructions

Show an overview of the local literature library.

TRIGGER when the user asks what has been collected so far (库里有哪些文献/文献库概况), or before screening to plan queries.

Returns Markdown with total works, year range, abstract and full-text coverage, open-access rate, top 10 sources, and top 10 concepts.

Use this to understand what's in your library before searching.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "library_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: 'Show an overview' plus 'understand what's in your library' makes clear it is a read-only, non-mutating inspection, and it spells out the return payload (Markdown with totals, year range, coverage rates, top 10 sources/concepts). What it omits is whether the library can be empty, whether results are cached, and any cost/latency expectation for large libraries.

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?

Front-loaded with the purpose, then TRIGGER, then returns, then a usage note — good ordering and no filler. The closing line 'Use this to understand what's in your library before searching' partially restates the earlier 'before screening to plan queries', and the returns list duplicates what the output schema already declares.

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 zero-parameter, read-only overview tool with an output schema present, the description covers purpose, trigger, workflow position, and payload shape. There is no meaningful gap an agent would need filled before calling it.

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?

Zero parameters, so the baseline applies; the description correctly implies no input is needed by framing this as a whole-library overview. It adds nothing that could mislead an agent into passing filters, which is the right behavior for a no-arg tool.

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?

States a specific verb+resource ('Show an overview of the local literature library') and immediately bounds the scope: aggregate statistics about what is already collected, not retrieval. The enumeration of what the overview contains (works, year range, coverage, OA rate, sources, concepts) makes it unmistakably distinct from library_query, library_export, or the search_* siblings.

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?

Gives explicit trigger conditions, including the user phrasing in both English and Chinese (库里有哪些文献/文献库概况), plus a proactive timing cue ('before screening to plan queries', 'before searching'). An agent knows both when to call it and where it sits in a workflow, with no plausible confusion about alternatives.

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