Skip to main content
Glama

Unpatentable.org

Library statistics

library_stats
Read-onlyIdempotent

Totals: inventions, reports, domains, subdomains, first/last publish date, inventions per domain.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world, so the safety profile is fully covered without description help. The description's added value is the enumeration of returned totals, which is real behavioral information given there is no output schema, but it says nothing about whether the counts are global or whether 'reports' is a distinct entity type from inventions.

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 compact sentence with no filler, and the most important content (the totals) is front-loaded. It loses a point only because the fragmentary 'Totals:' phrasing reads as a raw field dump rather than a stated purpose, which slightly weakens clarity.

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 zero-parameter, annotation-covered, read-only tool with no output schema, the description supplies the one thing that matters: the set of aggregates returned. Minor gaps remain around whether the counts are library-wide and what 'reports' covers, but an agent has enough to call it correctly.

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?

The tool takes zero parameters and the schema is an empty object with additionalProperties=false, so there is no parameter semantics to explain. Baseline 4 applies; the description correctly avoids inventing filtering options that do not exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates the aggregates returned (inventions, reports, domains, subdomains, first/last publish date), which implies a read-only summary tool. However, it is a noun phrase with no verb and no scope statement, so an agent must infer that this returns library-wide counts rather than a filtered or per-entity statistic.

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 call this versus siblings such as list_domains or search_inventions. There is no explicit statement that this is the cheap orientation call to make before drilling into individual entities, which is the natural use of a zero-parameter stats endpoint.

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.

Resources