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.

Cancel Invoice Approval Request

cancel_invoice_approval_request
Destructive

Cancel your own pending invoice approval request; cannot cancel another submitter's request. 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>"
    },
    "name": "cancel_invoice_approval_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the destructive, non-repeatable nature is covered structurally. The description usefully adds the ownership restriction and notes that MCP approval requirements are administrator-configurable while business workflow approvals always apply. However, it never states the effect of cancellation — whether the request can be resubmitted, what state the underlying invoice is left in, or whether the action is recoverable — which is exactly the kind of context a destructive tool should supply.

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?

Two compact sentences with the ownership constraint front-loaded, which is the right ordering for a destructive tool. The second sentence on administrator-configurable MCP approvals is relevant policy context but is the weakest link — it covers general approval mechanics rather than what this specific call does.

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?

An output schema exists, so return values need not be described, and the ownership scope plus policy note are present. What is missing for a destructive, non-idempotent single-parameter tool is the precondition that requestId must reference a pending request owned by the caller and the post-cancellation state of the request.

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?

There is only one parameter, so the burden is light. The description does not explain where requestId comes from, which would help, but the surface area is tiny and the field is a required UUID.

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 gives a precise verb and resource ('Cancel... invoice approval request') and immediately narrows scope to 'your own pending' requests, which cleanly separates it from the submit/decide/get/find siblings. An agent can select this tool without opening the schema or any sibling definition.

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

Usage Guidelines4/5

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

It states the positive condition ('your own pending') and an explicit exclusion ('cannot cancel another submitter's request'), which is more when/when-not guidance than most definitions offer. It stops short of naming the alternative action for another submitter's request (e.g., a decide/reject tool), so it falls short of a 5.

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