Skip to main content
Glama

艾达 ADA

shelf_get

取公共仓库里的成品(带来源与时间)。库里没有且给了网址,会实时加工并写回库内。

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

Input Schema

NameRequiredDescriptionDefault
qNo或关键词
idNo条目号(find 回的 id)
urlNo或网址:命中直接给,没命中就现加工
autoNotrue(默认)=库里没有就现加工;false=只取现成的
kindNo品类,默认 webpage
max_charsNo最多回多少字,默认 120000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a meaningful trait: this 'get' tool mutates the store by writing processed results back, and auto=false suppresses that. It says nothing about permissions, rate limits, or failure behavior when a URL cannot be processed, so the disclosure is partial.

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?

Two tight sentences with no filler, and the core retrieval scope is front-loaded before the cache-miss caveat. Slightly terse for the amount of conditional logic it encodes, but every clause earns its place.

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?

No output schema and no annotations, with six parameters and non-trivial fallback logic. The description covers the main retrieval plus write-back behavior, but leaves unclear what '来源与时间' looks like, how q/id/url interact, and what happens on a failed fetch — gaps the schema does not fill either.

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 description coverage is 100%, so the baseline is 3. The description only echoes the url/auto behavior already documented in the schema and adds no precedence rules (q vs id vs url) or format guidance for max_chars/kind.

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?

States a specific verb (取/retrieve) and resource (公共仓库里的成品 with source and time), and the second sentence clarifies it is a cache-with-fallback retriever. It distinguishes itself implicitly from shelf_find/shelf_put, but never names a sibling, and '成品' stays vague about what the stored artifact actually is.

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?

The description explains the cache-miss path (URL given and not in store → process and write back), which implies when the tool is useful. But it gives no explicit routing: nothing says to call shelf_find first to obtain an id, or when to prefer web_read over this cached variant, so the agent must infer the workflow.

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