Skip to main content
Glama

Find book type x age opportunities

find_segments
Read-only

Rank (category, book_type, age_band) segments across categories by score, momentum (New Releases share minus Best Sellers share), demand, low reviews or Amazon monthly searches for that book type and age (kw_searches). book_type codes include coloring, coloring_adult, word_search, hidden_pictures, dot_to_dot, maze, tracing, activity_mixed, workbook, picture_book, journal, planner, logbook...

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

Input Schema

NameRequiredDescriptionDefault
sortNoscore
limitNo
queryNorestrict to categories matching a keyword
storeNobooks = print books, kindle = Kindle eBooks
age_bandNocomma-separated: 0-2,3-5,6-8,9-12,13-17,adult
book_typeNocomma-separated codes
max_reviewsNo
feasible_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add real behavioral value by defining momentum as "New Releases share minus Best Sellers share," which the annotations and schema cannot convey. It says nothing about ordering direction, defaults, pagination, or what a returned segment contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The ranking statement is front-loaded and efficient, but the trailing book_type enumeration dominates the text and trails off with an ellipsis, suggesting truncation. That code list arguably belongs in the schema's book_type description rather than bloating the tool description.

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?

With 8 parameters, no output schema, and an undocumented feasible_only flag, the description leaves gaps an agent would want filled. It does cover the ranking concept and the book_type domain, but not the return shape, ordering direction, or the feasibility filter, which are material for correct invocation.

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?

Schema coverage is only 50%, but the description compensates meaningfully: it defines the ranking axes behind the sort enum (score, momentum, demand, reviews, searches) and enumerates concrete book_type codes where the schema only says "comma-separated codes." It leaves feasible_only, max_reviews, store, limit, and query unexplained, so it is strong but not complete.

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?

Opens with a specific verb and resource: "Rank (category, book_type, age_band) segments across categories by score, momentum, demand, low reviews or Amazon monthly searches." An agent can tell this produces a ranked segment list. It does not, however, distinguish itself from the sibling find_opportunities or find_niches, which likely overlap.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives like find_opportunities or find_niches. The agent must infer from the ranked-segment framing that this is for triage/gap-finding, and is left guessing how it differs from the siblings.

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.