Skip to main content
Glama

Create Custom Category

tripsy_categories_create

Create a custom activity category owned by the authenticated user. The API can generate slug when omitted; if the user already owns the same slug, the API returns an empty 200 OK and does not create a duplicate. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.

Input Schema

NameRequiredDescriptionDefault
dataNoOptional raw custom category fields. Prefer the typed top-level fields when possible; values here are merged first.
nameNoCustom category display name, such as Golf Clubs.
slugNoCustom activity category slug. When omitted, the API generates one. If the authenticated user already owns this slug, the API returns an empty 200 OK and does not create a duplicate.
colorNoHex RGB color without a leading #, such as AABBCC.
icon_nameNoIcon name metadata for this category, such as golf.

Output Schema

NameRequiredDescriptionDefault
dataNoTripsy API response payload or tool-specific structured data.
summaryYesShort human-readable summary of the Tripsy operation result.
status_codeNoHTTP status code returned by the Tripsy API when the tool called the API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description goes beyond them with genuinely useful behavior: slug auto-generation when omitted, the idempotent empty-200 response on a duplicate slug with no duplicate created, and the closed-world account/trip boundary. It stops short of describing the success response shape, though an output schema exists.

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?

Three front-loaded sentences: purpose first, then API behavior, then scope. Efficient overall, with only mild redundancy from restating the duplicate-slug rule that the slug parameter schema already covers.

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?

With annotations covering safety, 100% schema coverage, and an output schema handling return values, the description supplies exactly the missing pieces: ownership scope, closed-world boundary, and idempotency semantics. An agent has everything needed to invoke it correctly.

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 100%, so the schema already documents all five parameters including slug generation and the duplicate-slug outcome. The description largely repeats the slug rule rather than adding new meaning, and says nothing about how the raw 'data' object interacts with typed top-level fields beyond what the schema states. Baseline 3 applies.

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?

States a specific verb ('Create') plus a specific resource ('custom activity category') and adds an ownership qualifier ('owned by the authenticated user'). The create-vs-list/show/update/delete distinction from siblings is unambiguous from the name and opening sentence.

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 (creating a user-owned category) and explains the duplicate-slug outcome, which is a de facto precondition check. However, it never explicitly says when to prefer this over alternatives such as checking tripsy_categories_list first or using tripsy_categories_update for existing categories, and gives no exclusion guidance.

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.