Skip to main content
Glama

Update Custom Category

tripsy_categories_update
DestructiveIdempotent

Update a custom activity category owned by the authenticated user by id. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips. Destructive: overwrites supplied fields on an existing Tripsy record; previous values are not automatically preserved or restored by this tool.

Input Schema

NameRequiredDescriptionDefault
idYesTripsy custom category id.
dataNoOptional raw writable 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.
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

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so most of the 'Safety' sentence restates structured data. The one genuinely additive point is that previous values are not automatically preserved or restored, which tells the agent there is no undo path, plus the account-scoping note. Useful but largely duplicative.

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?

Two sentences with the purpose front-loaded and the safety caveat second, which is the right ordering for a mutation tool. The 'Safety:' label is slightly boilerplate and could be folded into a single clause.

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?

An output schema exists and the input schema is fully described, so the description needn't explain return values. Given the tool's complexity (nested object parameter, destructive overwrite semantics), the description covers scope and irreversibility adequately, though it omits update semantics for omitted fields.

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 every parameter including the nested `data` object is already documented with examples (color as hex without '#', name such as 'Golf Clubs'). The description adds nothing about parameter behavior, merge order, or which fields are mutable, so the baseline 3 applies.

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 first sentence gives a specific verb ('Update'), a specific resource ('custom activity category'), and a scope ('owned by the authenticated user by id'), which separates it from the create/delete/list/show siblings in the categories family. It stops short of naming an alternative tool or clarifying when a partial update is preferable to a full overwrite, so it lands just below the top mark.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of the siblings (e.g. categories_show to read current values before overwriting, or categories_delete for removal). The only implied usage is 'by id', leaving the agent to infer prerequisites and alternatives 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.