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.

Decide Invoice Approval Request

decide_invoice_approval_request
Destructive

Record the current human user's explicit approve/reject decision for a invoice. Requires exact-change review and being an assigned current-step approver. Amount ceilings restrict approvals, not rejections; subsequent approval steps still apply. 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": {
      "requestId": "<requestId>",
      "data": "<data>"
    },
    "name": "decide_invoice_approval_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
requestIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructive=true and non-idempotent behavior, and the description adds meaningful business context beyond that: amount ceilings restrict approvals but not rejections, subsequent approval steps still apply, and administrator-configured MCP approval requirements coexist with business workflow approvals. It still does not fully explain reversibility or the exact consequences of a recorded decision, but it is substantially richer than the annotations alone.

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 description is front-loaded with the core action and then adds prerequisites and policy constraints in compact sentences. Some terms such as 'exact-change review' and 'MCP approval requirements' are not elaborated, but the overall structure is efficient and mostly free of waste.

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 and annotations cover the safety profile, so the description does not need to explain return values or destructive behavior. It covers the business and approval-flow context well, though the missing parameter explanations and lack of explicit alternative-tool routing keep it from being fully complete.

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%, so the description needs to compensate for undocumented parameters. It clarifies that the decision is approve/reject but does not explain requestId, the optional notes field, or the nested data object structure, leaving most parameter meaning to be inferred from the schema names and types.

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 states a specific verb and resource: record the current human user's approve/reject decision for an invoice approval request. It clearly distinguishes this from sibling decide_* tools for bids, budgets, and RFPs by naming the invoice context.

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 gives important prerequisites, including being an assigned current-step approver and requiring exact-change review, plus rules about amount ceilings. However, it does not explicitly say when to use this instead of sibling tools such as submit_invoice_approval_request, cancel_invoice_approval_request, or find_invoice_approval_request.

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