Skip to main content
Glama

Update Inbox Email

tripsy_inbox_update
DestructiveIdempotent

Rename an automation email subject and/or move it to an existing editable trip, activity, hosting (lodging), or transportation. Supply subject or exactly one move target. A move clears previous associations and attaches the email only to that target; do not supply trip_id alongside an item id. Attached emails disappear from the manual-review inbox. The API may return an empty successful response. Safety: Open-world: conservatively covers moves of externally received booking email content and attachments into shared trip records accessible to destination-trip collaborators. The MCP handler only updates the stored Tripsy email record; it does not send email or modify a provider mailbox. Destructive: can overwrite the subject or clear prior parent associations when moving an email, removing it from the manual-review inbox. Moves require exactly one editable target.

Input Schema

NameRequiredDescriptionDefault
idYesAutomation email id from tripsy_inbox_list.
subjectNoOptional replacement subject. Omitted values preserve the existing subject.
trip_idNoMove to this editable trip. Supply exactly one move target; omit when moving to an activity, hosting, or transportation.
hosting_idNoMove to this editable hosting (lodging). Supply exactly one move target; no trip_id is needed.
activity_idNoMove to this editable activity. Supply exactly one move target; no trip_id is needed.
transportation_idNoMove to this editable transportation. Supply exactly one move target; no trip_id is needed.

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.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the Safety block largely restates the supplied hints rather than revealing new behavior. It does add two genuinely non-obvious facts: a move clears prior parent associations and removes the email from the manual-review inbox, and the API may return an empty successful response. The remaining statements, such as not sending mail or modifying a provider mailbox, duplicate what openWorldHint already signals.

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?

The critical constraints (subject-or-one-target, exclusivity, inbox disappearance) are front-loaded and easy to scan. There is mild redundancy: 'Moves require exactly one editable target' repeats the earlier 'Supply subject or exactly one move target,' and the Safety block is wordier than the rest.

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 six-parameter mutation with an output schema present, everything an agent needs is covered: the target-exclusivity rule, the destructive side effects on prior associations, the visibility consequence, and even the empty-response caveat. No gap remains that would cause a mis-call.

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%, so each parameter is already documented, and the description wisely does not re-explain them one by one. It does add a cross-field constraint at the top level — 'do not supply trip_id alongside an item id' — that clarifies interaction between the move-target parameters, which is meaningfully beyond the per-field schema text.

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 opens with a specific verb pair and resource: rename a subject and/or move an automation email to a trip, activity, hosting, or transportation. That scope is concrete enough to separate it from the sibling read/delete tools (tripsy_inbox_list, tripsy_inbox_show, tripsy_inbox_delete) without inspecting any schema.

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?

It gives explicit call-shape rules: supply a subject or exactly one move target, and never combine trip_id with an item id. What is missing is direct routing to alternatives — it never says when to prefer tripsy_inbox_delete or an activities/transportations update instead — but the conditional constraints it does state are unambiguous.

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.