Skip to main content
Glama

search_literature

Find papers from your curated literature database by searching structured facets: disease, method, geography, or keyword.

Instructions

Search the user's literature database.

Searches your curated/seeded literature catalogue by structured facets
(disease, method, geography, keyword). For your Zotero/manual reference
metadata use search_library; for full PDF body text use search_fulltext;
for semantic RAG over indexed PDFs use search_pdf_knowledge.

Searches the library_seeded SQLite table. Use this to find papers
by disease focus, methodology, geography, or any keyword.

Args:
    query: Search term, matched as a case-insensitive substring.
    field: Column to search -- one of "all", "disease", "method",
        "geography", or "article".
    limit: Maximum number of results to return (default 20).

Returns:
    A single TextContent holding a markdown table of matching rows from the
    library_seeded table, or an error/"no results" message if the database,
    table, or column is missing or nothing matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
fieldNoall
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses that it searches a specific SQLite table (library_seeded) and returns a markdown table. Also describes error behavior for missing database/table/column or no results. Lacks explicit read-only/destructive hint, but annotations are absent so description carries full burden. A slight gap is not stating side-effect profile, but it's implied to be read-only

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Efficient and well-structured: clear opening sentence, bullet-like sibling differentiation, parameter documentation, and return description. Every sentence adds value without redundancy

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?

Complete for the tool's complexity: covers purpose, usage, parameters, return format, and error handling. Output schema exists (not shown) but description adequately explains returns. No missing critical info for a search tool

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?

Adds meaning beyond schema: describes query as case-insensitive substring, field as column with enumerated values (all, disease, method, geography, article), and limit with default. Schema only provides types and defaults, so description adds value. Could be more precise about allowed field values but still helpful

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?

Clear verb-resource combination: 'Search the user's literature database.' Specifies the resource (curated/seeded literature catalogue) and the action. Explicitly distinguishes from three sibling tools (search_library, search_fulltext, search_pdf_knowledge).

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?

Provides explicit when-to-use and alternatives: states when to use this tool vs. search_library, search_fulltext, and search_pdf_knowledge. No when-not-to-use is needed as the guidance is clear

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SVerITG/Metis_PH'

If you have feedback or need assistance with the MCP directory API, please join our Discord server