Skip to main content
Glama

MarketExpert Business Plan Calculator

calculate_scenario

Read-only

Рассчитать показатели бизнес-плана штатным движком MarketExpert. Укажите месячную аренду в рублях и график в днях в неделю. Средний чек меняется с согласия пользователя. Для сравнения повторите вызов с изменёнными условиями.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "niche_id": "<niche_id>",
      "scenario": "<scenario>"
    },
    "name": "calculate_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
niche_idYes
scenarioYes
expected_result_hashNo
include_continue_urlNoПередайте true, только если человек попросил ссылку на анкету. На этапе пилота ссылка открывает нишу и цель, финансовые условия вводятся вручную.

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
metricsNo
optionsNo
currencyNo
niche_idYes
source_urlYes
wizard_urlNoОбычная анкета. Предвыбраны только ниша и цель.
assumptionsNo
limitationsNo
link_statusNo
result_hashNo
engine_versionNo
horizon_monthsNo
resolved_scenarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare a safe, closed-world read, and the description reinforces the computational nature of the call. The line about the average check changing only with user consent hints at the confirm_price_scaling gate, which is useful behavior beyond the annotations. It still does not explain determinism, cost/rate limits, or why expected_result_hash exists.

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?

Four short sentences, front-loaded with the verb and the two inputs an agent must supply. Nothing is padded, though the consent sentence is elliptical enough that it costs more parsing effort than its length suggests.

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?

An output schema exists, so return values need not be described, and a complex nested schema is partly summarized with the key inputs called out. Given the tool's complexity, the remaining gap is the unexplained expected_result_hash and include_continue_url interaction, which the schema does partially document on its own.

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?

Schema description coverage is only 25% and the scenario object carries many undocumented sub-fields (format, intent, city_type, start_month, rent_cost_id). The description compensates for a few of them: rent_monthly_rub, workdays_per_week, and indirectly confirm_price_scaling. It adds meaning but leaves the majority of nested parameters unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: calculate business-plan metrics using the standard MarketExpert engine. That is clearly distinct from find_niche and get_niche_facts, which are lookup tools. It stops just short of an explicit contrast with those siblings, but the action is unambiguous.

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?

It gives a real usage cue for the comparison workflow ('repeat the call with changed conditions'), which tells the agent how to get a delta. However, it never states when not to use it, what the required niche_id means in context, or that this is the step after find_niche, so selection guidance is implied rather than explained.

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