Skip to main content
Glama
SAP Concur MCP

SAP Concur MCP

by chrischall

concur_move_available_expenses_to_report

Destructive

Moves available card transactions, e-receipts, and mobile captures onto an unsubmitted SAP Concur report after previewing the rows and confirming the action.

Instructions

Move available expenses (card transactions, e-receipts, mobile captures — see concur_list_available_expenses) onto an unsubmitted SAP Concur report, where they become expenses. Concur has no operation that moves them back: removing one later means deleting the expense from the report. The preview lists each row being moved. Re-reads both the report and the available list afterwards. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview.

Input Schema

NameRequiredDescriptionDefault
idsYesAvailable-expense ids to move.
reportIdYesReport id (`reportId` from concur_list_reports).
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description goes well beyond them: irreversibility, what the preview shows, the post-write re-read of both the report and the available list, and the elicitation-vs-confirmToken fallback. The prompt-injection warning is a genuine behavioral constraint an agent needs before invoking a destructive mutation.

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?

Front-loaded with the action and effect, then irreversibility, then the confirmation flow — the ordering matches what an agent needs to decide. It is dense but slightly repetitive about confirmation and injection safety, which costs a point but not readability.

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 destructive, externally-visible mutation with no output schema, the description covers reversibility, side effects, confirmation handshake, and follow-up state. An agent has everything needed to call it safely and interpret the response.

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% and the per-parameter descriptions are already thorough, so the schema carries most of the load. The description still adds value by framing confirmToken as a phase-2-only, never-invented, never-reused value tied to the confirmation-required response, which reinforces the semantics beyond the field 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?

States a specific verb and resource ('Move available expenses ... onto an unsubmitted SAP Concur report'), enumerates the source objects (card transactions, e-receipts, mobile captures), and points at concur_list_available_expenses so the agent can distinguish production from listing. The post-condition ('where they become expenses') removes ambiguity about the result.

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?

Explicitly scopes usage to unsubmitted reports, names the sibling that enumerates the source items, and warns that there is no inverse operation in Concur so removal later must use expense deletion. It also spells out the confirmation protocol and the exact conditions under which the write may proceed, leaving nothing to inference.

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