Skip to main content
Glama

UXON AI

discounts_context_get

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read a Discount, exact draft schema/options and activation readiness; saving and activating are different actions.

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": {
      "siteId": "<siteId>",
      "discountId": "<discountId>"
    },
    "name": "discounts_context_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
discountIdYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description does add real value by telling the agent what it gets back (exact draft schema/options, activation readiness) and warning that save and activate are distinct operations, but it omits whether readiness reflects unmet requirements or what blocks activation.

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 with the domain-specific claim front-loaded. The leading sentence is boilerplate instructions rather than tool description, which slightly dilutes focus, but nothing is padded or redundant.

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 explained, and the description covers the broad content of the response plus the save-vs-activate distinction. It is still incomplete on how this differs from discounts_get/discounts_options and on what 'activation readiness' actually measures.

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 only 33%: teamId is documented in-schema, while siteId and discountId carry no meaning beyond format/pattern. The description says nothing about any parameter and does not compensate for the gap, so the agent gets no guidance on scoping or the teamId override semantics.

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 concrete verb and resource set: read a Discount plus its exact draft schema/options and activation readiness. The purpose is legible, but the trio of 'discount / draft schema / options' overlaps conceptually with siblings like discounts_get and discounts_options, and the description never clarifies which one to pick.

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

Usage Guidelines2/5

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

The only routing guidance is a global prerequisite to read agent.instructions_get first, which is not a when-to-use rule. The note that 'saving and activating are different actions' hints at workflow (read readiness before activating) but never names an alternative tool or an explicit triggering condition.

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