Skip to main content
Glama
Code Mode for Zotero

Code Mode for Zotero

by ltalignani

Search Api

search_api

Lists the functions available inside execute(), with their signatures and returned record fields; enter a keyword to narrow results or leave it blank to show all.

Instructions

List the functions available inside execute(), with signatures and the fields of the records they return. Give a word to narrow the list; leave it empty for everything.

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": "search_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'List' implies a read-only discovery operation and the empty-query behavior is disclosed, but it does not explicitly confirm no side effects or explain matching semantics. The output schema reduces the need to describe return values.

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?

Two short sentences, front-loaded with what is listed and followed by the query behavior. No wording is wasted.

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?

This is a simple one-parameter discovery tool with an output schema, so the description need not explain return structure. It covers purpose, filtering, and empty behavior; only explicit read-only/no-side-effect confirmation and matching details are missing.

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?

With 0% schema description coverage and one parameter, the description supplies the key meaning: a word narrows the list and an empty value returns everything. It does not detail matching rules such as case sensitivity or substring behavior, but it covers the parameter's core semantics.

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, 'List', and a specific resource, 'functions available inside execute()', plus what each result includes: signatures and returned record fields. This clearly distinguishes it from the sibling execute tool.

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

Usage Guidelines3/5

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

Explains the query parameter's effect, but does not explicitly say when to call this discovery tool versus execute, or when discovery is unnecessary. The usage is implied by the phrase 'functions available inside execute()' rather than stated as direct guidance.

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

Deploy Server

Other Tools