Skip to main content
Glama

Niche detail

get_niche
Read-only

One niche (empty string = any for a dimension): sample books with est. daily sales, the categories these books actually sit in (use them as KDP placements), common trim sizes, Amazon search keywords, search-interest seasonality, launch window, score parts and the cached AI development brief if one was generated.

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

Input Schema

NameRequiredDescriptionDefault
personaNo
age_bandNo
occasionNo
book_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 context beyond that: it flags that the AI development brief is only present 'if one was generated' (a conditional field the agent must guard against) and that empty-string dimensions act as wildcards. It says nothing about caching/staleness of the payload or what an unmatched dimension tuple returns.

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 dense sentence, front-loaded with the resource and the wildcard rule, followed by a tight enumeration of return contents. Every clause carries information, though the long comma-chained payload list pushes it close to being a run-on and could be broken for scanability.

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?

With no output schema, the description correctly takes on the job of describing returns, and it does so thoroughly enough that the agent knows the shape of the response including the optional brief. The remaining gaps are behavioral rather than structural: no statement of not-found behavior and no way for the agent to learn valid dimension values.

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 0% across four parameters, so the description carries the burden and only partially discharges it. The parenthetical 'empty string = any for a dimension' is genuinely valuable — it explains optionality and wildcard semantics that the schema does not — but the description never explains what persona, age_band, occasion, or book_type mean or what valid values look like, and no enums exist to fall back on.

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 states a specific resource (one niche, identified by a dimension tuple) and enumerates exactly what comes back: sample books with est. daily sales, categories, trim sizes, keywords, seasonality, launch window, score parts, and an optional AI brief. That is far more specific than the title 'Niche detail'. It stops short of naming the sibling it is not (find_niches) by name, relying on the reader to infer that this is the detail counterpart to a search 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?

Usage is only implied: the enumerated payload makes clear this is the 'fetch full detail for a niche' call, and 'use them as KDP placements' tells the agent what to do with one returned field. There is no explicit statement of when to prefer this over find_niches/find_opportunities, and no guidance on what to do when the niche is unknown or empty.

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.