Skip to main content
Glama

get_category_by_slugs

Read-only

Retrieve category details by supplying workspace ID, hub profile username, channel name, and category name slugs. Fetches category information for a specific hub and channel.

Instructions

Get category details by hub profile username, channel name, and category name slugs.

workspace_id: target workspace ID — get available IDs from list_workspaces()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_nameYes
workspace_idYes
category_nameYes
hub_profile_usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.18

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnly=true and destructive=false, and the description consistently presents this as a read operation. It adds useful context about slug-based identification and workspace_id sourcing without contradicting the annotations.

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

Conciseness5/5

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

The description is concise: two sentences, no fluff, with the core purpose stated first and the parameter guidance immediately following. Every sentence earns its place.

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?

For a straightforward read operation with no output schema, the description gives enough context to understand what the tool returns ('category details') and how to find the required workspace_id. It does not discuss error cases or return shape, but given the simple get-style operation this is acceptable.

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?

The schema itself only provides names and types, but the description explains all four parameters: hub_profile_username, channel_name, and category_name are slugs, and workspace_id is the target workspace ID with a source hint. This adds meaning beyond the schema, though individual parameter details could be richer.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the operation ('Get category details'), the target resource ('category'), and the exact identifying fields (hub_profile_username, channel_name, category_name slugs, workspace_id). This differentiates it from category mutation tools and from other retrieval tools by specifying the slug-based lookup.

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?

The description implies usage for retrieving category details and provides a helpful hint that workspace_id can be obtained from list_workspaces(), but it does not explicitly explain when to prefer this tool over siblings like get_category_references or when not to use it.

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