Skip to main content
Glama

prepare_submission

Builds a reviewable expense preview for Concur, Expensify, webhook or CSV export; holds back items missing purposes, attendees or flagged as duplicates, and sends nothing until the rep approves.

Instructions

Step 1 of 2: build a preview of expenses to send to Concur, Expensify, a webhook or CSV.

Nothing is sent. Picks expenses not yet submitted there, holds back ones that need a purpose/attendees or look like duplicates, and maps categories to the system's expense types. Show the rep the preview, totals and held-back list; they must say yes before submit_expenses.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prepare_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
untilNo
providerNo
expense_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does most of it well: it discloses that nothing is sent, that expenses already submitted elsewhere are skipped, that items missing a purpose/attendees or looking like duplicates are held back, and that categories are remapped to the target system's expense types. The remaining gap is that it never says whether the preview is persisted or how submit_expenses later identifies what was prepared, which matters for a two-step flow.

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 front-loaded "Step 1 of 2" and the standalone sentence "Nothing is sent." put the two most decision-relevant facts first. The remaining sentences are dense but each carries distinct information about filtering, mapping, and the human approval gate; nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, no-annotation, no-output-schema tool, the description covers workflow position, safety, and hold-back logic thoroughly but leaves the input parameters entirely unexplained and does not describe what the returned preview object contains beyond "preview, totals and held-back list." Adequate for the workflow narrative, incomplete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (since, until, provider, expense_ids), so the description must compensate and largely does not. The mention of Concur/Expensify/webhook/CSV hints at what provider accepts, but there is no explanation of the date-window semantics for since/until or whether expense_ids narrows or overrides the automatic selection of unsubmitted expenses.

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 and resource ("build a preview of expenses to send to Concur, Expensify, a webhook or CSV") and immediately frames it as "Step 1 of 2," which cleanly distinguishes it from the sibling submit_expenses that performs the actual send. An agent can tell what this does and what it does not do without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the sequencing explicitly (this step precedes submit_expenses) and names the gating condition: the rep must say yes before submit_expenses is called. The alternative path is named rather than implied, so an agent knows both when to call this and what must happen next.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.