Skip to main content
Glama

Get Optimization Suggestions

get_optimization_suggestions
Read-onlyIdempotent

Premium only. Return factual optimization candidates: active monthly subscriptions with their current annualized cost (monthlyToAnnual), and subscriptions whose monthly cost is more than twice the per-currency average (aboveAverageInCurrency). No discount rates are invented; present the figures and let the user decide. Free accounts receive 403 premium_required and should use get_spend_summary instead. Use when: The user asks what they could cut or how to save money. The user asks which subscriptions are expensive. Do not use when: The user wants a guaranteed savings number; the API reports current costs, not negotiated discounts. The account is known to be on the Free plan (returns 403 premium_required). Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description adds substantial context on top: a premium paywall with a concrete 403 premium_required response, and the deliberate constraint that no discount rates are invented so figures are reported as-is. It also scopes out adjacent capabilities (Bark configuration, test pushes, timezone/locale, category catalog) that could otherwise be attempted through this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the premium gate and the two candidate types, which is good structure. However, a large trailing block about Bark URLs, test pushes, and documentation links is tangential to a read-only suggestions tool and crowds out clearer statement of the return shape; several sentences would need to be cut or moved to be tight.

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?

With no output schema, the description must carry the return contract, and it does: it names the two candidate arrays and the fields they contain, and it explicitly warns that no savings projection is produced. Combined with the paywall and error behavior, an agent has everything needed to call this and interpret the result.

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?

The tool takes no parameters and has a fully-closed empty schema, so there is nothing for the description to disambiguate; baseline 4 applies. The description instead spends its budget on return-value semantics, which is the right use of space here.

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?

States a specific verb and resource ('Return factual optimization candidates') and enumerates the two candidate classes with their exact output keys (monthlyToAnnual, aboveAverageInCurrency). This lets an agent distinguish it from get_spend_summary without consulting either schema.

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

Usage Guidelines5/5

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

Contains explicit 'Use when' conditions (user asks what to cut, which subscriptions are expensive) and 'Do not use when' exclusions (user wants a guaranteed savings figure; account known to be Free). It also names the correct alternative, get_spend_summary, for Free accounts, so the routing decision is fully determined.

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