Skip to main content
Glama

Update modifier

loyverse_update_modifier

Update an existing modifier in Loyverse by sending the full modifier data with its ID. Include all required fields to avoid rejection; errors are returned as-is.

Instructions

Update an existing modifier (POST /modifiers with "id" set — Loyverse uses the same create endpoint for updates when "id" is present in the body). This is not a partial patch: include all required fields for this resource, not just the ones changing, or Loyverse will reject the request. Field names follow the Loyverse API v1.0 (developer.loyverse.com/docs). If a call fails with a 400, the error message from Loyverse is returned verbatim — adjust the fields and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe modifier id.
bodyYesFull set of fields for the modifier (required fields included, not just the ones changing).
Behavior4/5

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

Discloses key behavioral traits: not a partial patch, error handling returns Loyverse's error message verbatim. Since no annotations exist, the description adequately covers mutation behavior, though it could mention idempotency or side effects.

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 sentences that are succinct and front-loaded with the action. Every sentence provides essential information without redundancy.

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 no annotations, the description covers the key behavioral aspects and parameter constraints. It could mention the response format (e.g., returns updated modifier) and prerequisites (having an existing id), but overall it's fairly 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%, so baseline is 3. The description adds meaning by clarifying that body must contain all required fields, not just changes, and refers to API docs for field names, compensating for the generic object schema.

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 explicitly states 'Update an existing modifier' and explains the HTTP method and endpoint, clearly distinguishing it from create_modifier and other update tools for different resources.

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?

Provides important guidance on not using partial patches and including all required fields, as well as handling 400 errors by adjusting and retrying. However, it could be improved by explicitly contrasting with create_modifier.

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/ogarciabrena/mcploy'

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