Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

offer_to_invoice

Converts an offer into a sales invoice using its GUID, enabling accepted offers to be billed without manual invoice creation.

Instructions

Convert an offer into a sales invoice. Body: Id (GUID of offer).

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": "offer_to_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It never says whether the source offer is consumed, marked invoiced, left untouched, or whether the conversion is reversible, nor what happens on failure. For a mutation tool this is a substantial gap.

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 short sentences, front-loaded with the action, no filler. The 'Body:' prefix is slightly mechanical but efficiently signals the parameter is in the request body. Nothing is wasted, though nothing is enriched either.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the definition should say more about effects and results. It is silent on whether the returned value is the new invoice identifier, on offer side effects, and on error conditions, leaving an agent unable to predict outcomes.

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?

The input schema declares no properties at all, only additionalProperties:true, so the description is the sole source of parameter meaning. It usefully names the field (Id), its format (GUID), and its referent (the offer), which makes the call executable. It does not state whether any other body fields are accepted or have defaults.

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 pair: convert an offer into a sales invoice. That is clearly distinct from create_invoice (which presumably builds an invoice from scratch) and from update_offer. It stops short of explicitly naming the sibling it differs from, so it lands at 4 rather than 5.

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?

Usage is only implied: an agent can infer it should be called when an existing offer needs to become an invoice. There is no statement of prerequisites (e.g. offer status must be open), and no explicit contrast with create_invoice or create_purchase_invoice_for_approval.

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