Skip to main content
Glama
HyrosOG

Hyros MCP

by HyrosOG

Update Custom Cost

hyros_update_custom_cost
Idempotent

Update an existing custom cost by replacing all fields. Use it to correct a wrong amount or close an open-ended recurring cost by setting an end date.

Instructions

Update a custom cost. The whole cost is replaced, so send every field, not only the ones changing. Use this to fix a wrong amount or to close an open-ended recurring cost by setting endDate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCustom cost ID (from hyros_get_custom_costs)
costYesCost amount
nameNoCost name
tagsYesTags the cost is attributed to. Each must already exist in the account, otherwise the API rejects the request.
endDateNoEnd date, ISO 8601. Leave unset for an open-ended recurring cost.
frequencyYesHow often the cost applies
startDateYesStart date, ISO 8601 (e.g. 2026-08-01T00:00)
Behavior4/5

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

The description discloses a critical behavioral trait beyond the annotations: 'The whole cost is replaced, so send every field, not only the ones changing.' This is important for correct invocation and is not captured in the readOnlyHint/idempotentHint annotations. It also explains the endDate use case, adding practical context.

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?

The description is two sentences long, front-loaded with the core action, and every clause adds value: the action, the replacement warning, and the use cases. No redundant or vague phrasing.

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?

Given no output schema and sparse annotations, the description covers the essential operational context: what the tool does, the replacement semantics, and when to use it. It lacks return-value or error-behavior details, but for an update operation with a rich schema, this is adequate. Slightly more info on request results could push it to 5.

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?

The input schema provides full descriptions for all 7 parameters (100% coverage), so the description doesn't need to explain individual parameters. It does add contextual guidance about sending every field due to replacement semantics, but this is more about overall operation behavior than specific parameter meaning.

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 'Update a custom cost' with a specific verb and resource, and it distinguishes itself from sibling create/get/delete tools by presenting concrete use cases (fixing a wrong amount, closing an open-ended recurring cost).

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?

The description explicitly says when to use the tool ('Use this to fix a wrong amount or to close an open-ended recurring cost by setting endDate'), which gives clear guidance for typical scenarios. However, it does not explicitly mention alternatives like create/delete for non-update cases, though sibling names make that implicit.

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