Skip to main content
Glama

Groundsocial

Target categories

target_categories_get
Read-onlyIdempotent

Target categories and their subcategories.

A Target category and its subcategories (category_id, name, canonical_url), as Target’s taxonomy service returns them. Omit category_id for the top level (root); walk down with the children’s ids. A leaf category answers target_not_found.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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

Input Schema

NameRequiredDescriptionDefault
category_idNoCategory id (default root).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the description is not needed for safety. It still adds meaningful behavior beyond them: 1 credit per call, automatic refund on failure, public-data-only scope, and that responses carry cost_credits and credits_remaining. Pagination and depth/rate behavior are not covered.

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?

Front-loaded with the resource, then the traversal procedure, then cost and safety in one closing line. Every sentence carries information except the opening fragment, which duplicates the title and could be merged into the second sentence.

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

Completeness5/5

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

For a single optional-parameter read tool with no output schema, the description covers return fields, root-vs-child traversal, leaf behavior, cost/refund, and data scope. Nothing an agent needs to call it correctly is missing.

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 100% and the pattern/short description already document category_id, so baseline would be 3. The description adds the operational semantic the schema lacks: omission means root, and ids should be sourced from the children of a previously returned category. That is a genuine beyond-schema clarification.

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 second sentence states concretely what the tool returns (category_id, name, canonical_url) from Target's taxonomy service, which the bare title 'Target categories' does not. The opening fragment 'Target categories and their subcategories' largely restates the title, so the distinguishing value comes later. An agent can still tell this is a taxonomy/browse tool, distinct from product, review, or store lookups.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage flow: omit category_id to get the root, walk down using children's ids, and expect 'target_not_found' at a leaf. That is real when-and-how guidance. It does not name sibling alternatives or state when not to use it, which keeps it below a 5.

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.