Skip to main content
Glama

Mango Inventory

Set organization defaults

set_org_defaults
DestructiveIdempotent

Set organization-wide defaults, any combination in one call: defaultHomeLocationId (where new items live by default; a location resource id), defaultResponsiblePersonId (who is responsible for every item that names nobody; a PERSON resource id), defaultLanguage (en/de/fr/es/it: emails and new members), defaultCurrency (ISO 4217 code such as EUR: the currency a NEW currency field gets when none is named; existing fields keep theirs), orderDefaultAssigneeUserId and ticketDefaultAssignees (who handles incoming orders / tickets of a type by default; userIds from list_members; the target must already be responsible for orders/tickets there, see responsibleForOrders/responsibleForTickets). Admin only. Idempotent.

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

Input Schema

NameRequiredDescriptionDefault
defaultCurrencyNoISO 4217 code (e.g. CHF, EUR, GBP, USD) that a new currency field gets when it is created without currencyCode. Changing it never touches existing fields or their values
defaultLanguageNo
defaultHomeLocationIdNoLocation resource id new items default to
ticketDefaultAssigneesNoPer-ticket-type default handlers
defaultResponsiblePersonIdNoPerson resource id (from search_resources) who is responsible for every item that names nobody — the last link of the chain blueprint > category > organization. The person must have a member account in this organization. It can be repointed but never cleared: the organization always has one
orderDefaultAssigneeUserIdNouserId (from list_members) who handles incoming orders by default

Output Schema

NameRequiredDescriptionDefault
noteNoPresent when nothing changed
updatedNoWhich defaults were written (empty when no argument was passed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses the admin-only authorization requirement and important side-effect boundaries: changing defaultCurrency 'never touches existing fields or their values', and defaultResponsiblePersonId can be repointed but never cleared. 'Idempotent' merely restates idempotentHint so earns no credit, and the destructive impact of resetting org-wide defaults is only implied.

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?

A single front-loaded sentence with the scope and the partial-update rule stated first, followed by per-field clarifications. Every clause carries information, though the dense chain of parentheticals makes it harder to scan than a short bulleted structure would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-param, all-optional mutation tool with an output schema already present, the description covers authorization, idempotency, partial-update semantics, per-field effects and cross-tool prerequisites — everything an agent needs to invoke it correctly without guessing.

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 already 83%, yet the description adds real meaning: defaultLanguage governs 'emails and new members' (the schema gives no description for it at all), and the assignee params specify userId provenance (list_members) plus the precondition that the target must already be responsible for orders/tickets there. It does not explain how to clear a value, but otherwise meaningfully extends the 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 opens with a specific verb+resource ('Set organization-wide defaults') and then enumerates the exact settings it controls, so an agent knows precisely what the tool mutates. The phrase 'any combination in one call' also distinguishes it from any single-setting setter sibling (e.g. set_org_type).

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?

It supplies the key operating conditions: partial updates are allowed ('any combination in one call'), access is 'Admin only', and ticket/order assignees require the target to already be responsible there (pointing at responsibleForOrders/responsibleForTickets). It stops short of naming alternatives or stating when not to use it.

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