Skip to main content
Glama

searchStory

Locate children's stories by age range, title, or keyword and return the closest matching metadata and full content for bedtime narration.

Instructions

根据年龄段、名称或关键词模糊搜索故事,返回最佳匹配

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

Input Schema

NameRequiredDescriptionDefault
ageNo
titleNo
keywordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/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. It does disclose two useful traits beyond the schema: matching is fuzzy rather than exact, and the result is '最佳匹配' (a best match) rather than a full list. It says nothing about permissions, result count, ordering, or fallback behavior when no match is found.

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 short, front-loaded sentence with no filler. Its brevity is close to the point of ambiguity rather than verbosity, which is the right trade-off for a three-parameter lookup tool.

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

Completeness2/5

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

With no annotations, no output schema, and 0% schema coverage on three parameters, the description should do more. It leaves open whether one story or many are returned, how the three optional filters combine, and what an 'age' value looks like – all information an agent needs to invoke this correctly.

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 0%, so the description must compensate, and it partially does by mapping each of the three parameters to a search facet (age range, name, keyword). It adds no format or syntax detail – notably 'age' is typed as a plain string with no hint whether it is a single age, a range, or a label – so the gap is only half closed.

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 gives a specific verb and resource ('模糊搜索故事' – fuzzy-search stories) plus the three facets it can search on (age range, name, keyword). It does not explicitly contrast with the sibling listStories, so an agent must infer the difference between 'fuzzy search' and 'list'.

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?

Usage is only implied by the word '模糊搜索'; there is no statement of when to prefer this over listStories, no note that all parameters are optional or how they combine, and no guidance on what happens when nothing matches.

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