Skip to main content
Glama
HyrosOG

Hyros MCP

by HyrosOG

Update Sale

hyros_update_sale
Idempotent

Update one or more sale records in Hyros, marking them as refunded, recurring, or adjusting refund amounts and dates. Supports batch updates of up to 50 IDs.

Instructions

Update one or more sale records in Hyros. Can mark sales as recurring, refunded, or update refund amounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesComma-separated sale IDs to update (max 50, required)
isRefundedNoMark sale as refunded
refundedDateNoRefund date in ISO 8601 format
refundedAmountNoAmount refunded
isRecurringSaleNoMark sale as recurring
Behavior3/5

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

Annotations already indicate readOnlyHint=false and idempotentHint=true. The description adds no additional behavioral context such as side effects, rate limits, or details about idempotency. It merely repeats the action.

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?

Two concise sentences with no fluff. The key actions are front-loaded and every sentence adds value.

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?

Given the tool has 5 parameters, 1 required, no output schema, and annotations present, the description is adequate but minimal. It does not explain return values, error handling, or the max 50 IDs constraint (though present in schema). Could be more complete.

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?

Schema coverage is 100%, but the description adds semantic grouping: 'mark sales as recurring, refunded, or update refund amounts' maps to parameters like isRecurringSale, isRefunded, and refundedAmount. This provides context beyond the schema's individual descriptions.

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 clearly states the action (update) and resource (sale records), and specifies common use cases (mark as recurring, refunded, update refund amounts). It distinguishes from sibling tools like hyros_refund_order and hyros_delete_sale.

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?

No explicit when-to-use or when-not-to-use guidance. It implies usage for updating sales but does not compare with alternatives like hyros_refund_order or mention prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HyrosOG/Hyros-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server