Skip to main content
Glama

Get category

get_category

Retrieves all category info by categoryName.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "categoryName": "<categoryName>"
    },
    "name": "get_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNameYesUser chosen categoryName.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It says nothing about what happens when the name doesn't exist (error vs empty), whether matching is exact or partial, what fields 'all category info' actually includes, or any permission requirements.

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 front-loaded sentence with no filler or redundancy. It is efficient, though the terseness means there is no structure beyond the one clause and several behavioral questions go unanswered.

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?

For a tool with no annotations, no output schema, and no documented error behavior, the description should clarify the return contents and failure mode. 'All category info' is undefined, leaving an agent unable to predict the response shape or handle a missing category.

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 100% and the schema already labels categoryName as 'User chosen categoryName.' The description restates the parameter as the lookup key but adds no case-sensitivity, format, or matching-rule detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 ('Retrieves') and resource ('category info') with the exact lookup key ('by categoryName'), so an agent can tell it apart from a list-style sibling. It stops short of naming list_categories explicitly, so sibling differentiation is only implicit.

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?

The phrase 'by categoryName' lightly implies you call it when you already know the name, but there is no explicit when-to-use, when-not-to-use, or pointer to list_categories as the alternative when the name is unknown. An agent must infer the routing decision entirely.

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