Skip to main content
Glama

get_item

Retrieve detailed metadata for a specific Zotero item using its unique key to access citation information and bibliographic data.

Instructions

Get detailed metadata for a single Zotero item

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_keyYes
formatNojson

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • Tool registration for "get_item" in the MCP server.
    @mcp.tool(description="Get detailed metadata for a single Zotero item")
    def get_item(item_key: str, format: str = "json") -> str:
        """Get full metadata or BibTeX for one item by its key."""
        result = _get_client().get_item(item_key, fmt=format)
        if isinstance(result, str):
            return result
        return json.dumps(result, ensure_ascii=False)
  • Actual implementation of the "get_item" logic using the Zotero client.
    def get_item(self, item_key: str, fmt: str = "json") -> dict | str:
        """Get full metadata for a single item."""
        if fmt == "bibtex":
            return self.zot.item(item_key, format="bibtex")
        item = self.zot.item(item_key)
        return item.get("data", item)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves 'detailed metadata,' implying a read-only operation, but doesn't cover aspects like authentication requirements, rate limits, error handling, or what 'detailed' entails. This leaves significant gaps in understanding the tool's behavior beyond its basic purpose.

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?

The description is a single, efficient sentence that directly states the tool's purpose without any unnecessary words. It is front-loaded with the core action and resource, making it easy to parse and understand quickly, which is ideal for conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (2 parameters, no nested objects) and the presence of an output schema (which handles return values), the description is minimally adequate. However, it lacks behavioral details (e.g., error cases, permissions) and parameter guidance, making it incomplete for optimal agent use, though not severely deficient due to the simple structure.

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?

The description adds no semantic information about the parameters beyond what the input schema provides. With 0% schema description coverage, the parameters 'item_key' and 'format' are undocumented in both the schema and description. However, the baseline is 3 because the tool has only 2 parameters, and the description implies retrieval of a single item, which loosely relates to 'item_key,' but it doesn't compensate for the lack of details on parameter usage or meaning.

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

Purpose4/5

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

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('detailed metadata for a single Zotero item'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'search_items' or 'get_collection_items', which might also retrieve item information but with different scopes or filters.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an item key), exclusions, or comparisons to siblings like 'search_items' for broader queries or 'get_collection_items' for collection-specific lists, leaving the agent to infer usage context.

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/BirdInTheTree/zotero-mcp'

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