Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as RetailHardHat - AI Powered Construction Management for Tasks, Bids, RFPs, RFIs, Budgets and Permits. If you published it, claim ownership there.

Submit Invoice Approval Request

submit_invoice_approval_request
Destructive

Submit an existing invoice to the configured business approval flow. Does not approve it. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data": "<data>"
    },
    "name": "submit_invoice_approval_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Output Schema

NameRequiredDescriptionDefault
dataYes

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?

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false; the description adds real, non-obvious context about the two-tier approval model (organization-configurable MCP approvals vs. always-applicable business workflow approvals) and clarifies this is a routing action, not a decision. It does not, however, explain the consequences behind the destructive/non-idempotent hints — whether a second submission duplicates or errors, or whether the submission can be withdrawn.

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 the action and its key disambiguation. No filler, though the second and third sentences could be merged into one cleaner statement about the approval layers.

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?

With an output schema supplied, return values need no explanation, and the core semantics of routing vs. approving are covered. For a destructive, non-idempotent state transition, the description still leaves open the preconditions and repeat-submission behavior an agent needs before calling it.

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 0% on a single nested `data` object, so the description carries extra weight; it does convey that `entityId` must reference an already-existing invoice, which is meaningful beyond the UUID pattern in the schema. It adds nothing about `notes` or the fixed `entityType` value, so compensation is only partial.

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?

States a specific verb and resource ('Submit an existing invoice to the configured business approval flow') and immediately scopes it against the obvious confusion with approval, via 'Does not approve it.' That effectively separates it from decide_invoice_approval_request without naming it, though it never names any sibling explicitly.

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

Usage Guidelines3/5

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

The description implies the trigger condition — an invoice already exists and must be routed into the approval flow — but gives no explicit when-not guidance, no statement of required invoice state (e.g., draft/unsubmitted), and no named alternative for retrieving or cancelling a submission.

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.

Resources