Skip to main content
Glama

Create Expense

tripsy_expenses_create

Create a Tripsy expense. Use title, price, currency, and date for expense records. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.

Input Schema

NameRequiredDescriptionDefault
dataYesObject of resource fields to create.
trip_idYesTripsy trip id.

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

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

The annotations already declare readOnlyHint=false, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description's 'closed-world within the authenticated user's Tripsy account and accessible trips' adds a useful scoping/auth note that reinforces the openWorldHint=false annotation rather than merely repeating it. It still says nothing about what happens on duplicate submission, field validation failures, or permissions required to write into a shared trip.

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 short sentences, front-loaded with purpose before field hints and safety scoping. The 'Safety:' prefix is slightly awkwardly formatted but no sentence is filler for a tool this small.

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, so return values need no explanation, and the annotations carry the mutation/open-world profile. For a two-parameter create tool with a free-form data object, naming the expected fields plus the account scoping covers most of what an agent needs. The remaining gap is field requiredness inside 'data' and any resulting-expense identifier the agent might need afterward.

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%, but the critical 'data' parameter is an untyped object with additionalProperties=true, so the schema enumerates nothing. The description compensates by naming the expected fields (title, price, currency, date), which is genuine meaning beyond the structured data. It does not specify which of those fields are required versus optional, keeping it short of a 5.

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 and resource: 'Create a Tripsy expense,' which distinguishes it from the expenses update/list/show/delete siblings. It does not explicitly contrast with the other create tools (activities, categories, hostings), but the resource noun makes the intent unambiguous.

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 when-to-use guidance, no mention of prerequisites such as needing an existing trip_id, and no routing to alternatives like tripspy_expenses_update when the expense already exists. Usage is only implied by the verb 'Create.'

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.