Skip to main content
Glama

build_formula

Generates a GorillaROI formula from a described goal, helping users translate tasks like sales totals or inventory checks into suggested formulas.

Instructions

Generate a GorillaROI formula based on what you want to accomplish. Describe your goal and get a suggested formula.

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": {
      "goal": "<goal>"
    },
    "name": "build_formula"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesWhat you want to accomplish (e.g., 'get total sales for last month', 'check inventory levels', 'see profit by SKU')
seller_idNoYour Seller ID or Nickname in GorillaROI (will use placeholder if not provided)
marketplaceNoMarketplace code (e.g., 'US', 'UK', 'CA')
sku_or_asinNoSKU or ASIN to use (will use placeholder if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully clarifies that the output is a 'suggested formula' rather than an executed formula, but it does not state whether any state is modified, what permissions are needed, or what the generated formula looks like. This is adequate but incomplete.

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?

The description is short and front-loaded with the core verb and resource. The second sentence slightly restates the first ('based on what you want to accomplish' vs. 'Describe your goal'), which is minor redundancy but not harmful.

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

Completeness3/5

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

For a four-parameter tool with full schema coverage and no output schema, the description is minimally complete: it explains the basic input-to-output relationship. However, it lacks guidance on alternatives and deeper behavioral context, which would be useful given the absence of annotations.

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 100%, and the schema already gives rich examples for 'goal' plus placeholder explanations for seller_id and sku_or_asin. The description adds no parameter-specific meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb and resource: 'Generate a GorillaROI formula'. That is clear. It does not explicitly differentiate this tool from the sibling documentation/search tools, but the action is distinct enough for an agent to recognize.

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?

The phrases 'based on what you want to accomplish' and 'Describe your goal' imply when to use the tool, but there is no explicit when-not guidance or mention of alternatives such as searching or listing functions. Usage is therefore only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.