Skip to main content
Glama

Profit update cost settings

profit_update_cost_settings
DestructiveIdempotent

Set monthly overhead and currency used for contribution margin. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
currencyNo
client_idNo
user_emailNo
monthly_overheadNo
preferred_currencyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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=true; the description's real contribution is the confirm-gated preview behaviour, which the annotations cannot express. That is valuable, but it omits other mutation traits: whether unlisted settings are preserved or reset, what happens on invalid currency, and what permissions or scopes are required. The 'extra passes any other field the app accepts' clause is an unrestrained passthrough with no validation or risk framing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the purpose, then the safety-critical confirm behaviour, then parameter routing. Nothing is padded and the preview caveat appears before any parameter detail.

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?

Because an output schema exists, return values need not be explained, and the destructive/confirm story is well covered. The gaps are the unexplained identity parameters (user_id, user_email) and the ambiguity between currency and preferred_currency, on a tool with no schema coverage to fall back on.

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% across 8 parameters, so the description carries the full burden; it covers confirm, client_id and extra, and the first sentence maps currency and monthly_overhead to their purpose. However user_id, user_email and especially preferred_currency are never explained, leaving the potentially confusing currency vs preferred_currency overlap entirely undefined.

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 (Set) plus the exact resources (monthly overhead, currency) and names the downstream use (contribution margin). The read sibling profit_get_cost_settings is implicitly distinguished by the mutating verb 'Set' and the 'Changes data' framing.

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?

Gives an explicit operating condition: 'runs only with confirm=true; without it, returns a preview and changes nothing', which tells the agent exactly how to call it safely. It also explains that client_id defaults to the active brand. It does not explicitly point to a sibling for reading current settings, but the condition for a dry run vs a real change is clearly spelled out.

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.