Skip to main content
Glama

Search literature

knowledge_search
Read-onlyIdempotent

Search 130,000+ peer-reviewed sustainability papers and the account's uploads. Articles from Sustainability, the Journal of Cleaner Production, the International Journal of Life Cycle Assessment and the Journal of Industrial Ecology, 1993 to the present — LCA, material flows, energy, food and agriculture, materials, waste, buildings and policy. English-language; most entries are abstract and metadata only. Returns ref-numbered metadata only (title, authors, year, journal, DOI) — no abstract, no excerpts. Refs (e.g. k1, k7) persist for this session and are accepted by knowledge_get (passages) and knowledge_get_full (the full paper). limit defaults to 12; a larger limit suits broad literature surveys. Optional filters: journal (its full name) and year_from / year_to.

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": {
      "query": "<query>"
    },
    "name": "knowledge_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default: 12). Bump toward 30 for broad literature surveys.
queryYesSearch query. The library is English-language: technical terms and scientific names match best.
journalNoOptional. Restrict the search to ONE journal, by its full name (e.g. "Journal of Cleaner Production"). A distinctive fragment also works ("Cleaner Production"), but a fragment matching several journals is rejected with the candidates listed — never guessed at — so prefer the full name. To compare journals, run one search per journal. Omit to search every document this session can reach — including the user's own uploads and anything else with no journal recorded, which a journal filter would exclude.
year_toNoOptional inclusive upper bound on publication year. Omit for no upper bound.
year_fromNoOptional inclusive lower bound on publication year (e.g. 2020 for "recent"). Omit for no lower bound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Search query"New value: +"Search query. The library is English-language: technical terms and scientific names match best."
  3. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / year_from / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / year_from / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / year_to / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / year_to / minimum
      Added value: +-9007199254740991
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations, which only declare read-only, idempotent, closed-world. The description discloses the important behavioral constraint that results are metadata only (title, authors, year, journal, DOI) with no abstract or excerpts, that most entries are abstract-and-metadata only, that refs persist for the session, and that the library is English-language with coverage from 1993 onward. It omits anything about result volume or latency, but the substantive caveats are present.

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 dense paragraph that front-loads corpus scope, then result format, then ref persistence, then parameters — a sensible order with little filler. Minor waste in repeating the `limit` default and year-filter names that the schema already carries.

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?

With no output schema, the description fully carries the return-value burden: it names the exact fields returned, states what is absent (no abstract, no excerpts), and explains the ref identifier system that connects it to the retrieval siblings. For a search tool of this complexity, nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so the schema already documents all five parameters, including the journal-imatch rejection behavior and the year bounds. The description largely restates this (`limit` default, `journal` full name, `year_from`/`year_to`), adding only light framing such as a larger limit suiting broad literature surveys. Baseline 3 applies when the schema carries the parameter detail.

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 (Search) over a precisely scoped corpus: 130,000+ peer-reviewed sustainability papers plus the account's uploads, with named journals and date range. It is clearly distinguishable from the knowledge_get/knowledge_get_full siblings, which retrieve individual refs by their `k1`/`k7` identifiers rather than searching.

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?

Explicitly positions itself at the front of a workflow: results carry refs that are then passed to `knowledge_get` for passages or `knowledge_get_full` for the full paper. It also gives practical guidance on `limit` (defaults to 12, raise toward 30 for broad surveys) and on running one search per journal to compare journals. It does not say when to prefer this over engine_search or lca_search_factors, so alternatives are left implicit.

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