Skip to main content
Glama

Edit my Sandbox method

edit_sandbox_method
Destructive

Change the user's investing method, which every Sandbox mission applies, when they ask: set_rules (entry criteria: switch each on or off, set its threshold — e.g. conviction_min 65, piotroski_min 6; signal_at_least takes a rank: top_10, top_25, top_75, top_90 or all), set_limits (max weight per line 5–30 % and per sector 20–70 %, on the portfolio the Sandbox reads), save_thesis (why they own a stock: a summary and 2–4 pillars, each in words, optionally tracked by a metric), thesis_status (validate a draft → active, or archive), contest (record an objection to a note, read back at the next meeting), decision (log what the user decided — buy, add, keep, trim, sell, pass — in their journal; nothing is traded). Never starts a run.

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": {
      "action": "<action>"
    },
    "name": "edit_sandbox_method"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNodecision: the user's reason (≤ 1000 characters)
textNocontest: what the user disagrees with and why (3–1000 characters)
rulesNoset_rules: the criteria to change (the others stay)
actionYes
statusNothesis_status: active (validates a draft) or archived; save_thesis: draft or active
tickerNosave_thesis / thesis_status / contest / decision: the stock
note_idNocontest / decision: the Sandbox note it answers (an id from get_sandbox_notes)
pillarsNosave_thesis: replaces the pillars (unchanged ones keep their status)
summaryNosave_thesis: why the user owns it, in one line (≤ 500 characters)
decisionNo
thesis_idNosave_thesis / thesis_status: a thesis id instead of the ticker
line_limitNoset_limits: max weight of one line, 5–30 (%)
sector_limitNoset_limits: max weight of one sector, 20–70 (%)

Output Schema

NameRequiredDescriptionDefault
okYesfalse on an error; then `error` says what happened and what to do.
cardNoThe in-chat InvestIQ card, in English and French.
dataNoThe tool's own result fields.
toolYes
as_ofYesISO time the data was computed (a stored analysis: when it was computed).
errorNo
linksNoInvestIQ pages for this result.
degradedNotrue when part of the data was missing.
viz_specNoThe recommended chart's series (data only).
disclaimerYes
data_qualityNoWhat was requested, what was used, and why anything was left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond annotations that flag destructive and non-idempotent behavior, the description adds important context: set_rules leaves other criteria unchanged, save_thesis replaces pillars, decision logs an intent but 'nothing is traded,' and the tool 'Never starts a run.' It does not fully discuss persistence or permissions, but the behavioral picture is substantially clearer.

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 front-loaded with purpose and then maps each action to its effect, with no obvious filler. It is a single dense sentence rather than clearly separated bullets, which slightly reduces scanability despite being compact.

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?

For a 13-parameter, six-action mutation tool with an output schema, the description covers all action types and key constraints such as limits, thesis statuses, and 'nothing is traded.' Some operational details are left to the schema and annotations, but the call context is largely 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?

The schema already documents 85% of parameters, and the description adds action-level meaning and examples, including thresholds, limit ranges, and the 2–4 pillar structure. It does not document every parameter, but it meaningfully supplements 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 states a specific verb and resource: 'Change the user's investing method, which every Sandbox mission applies.' It then enumerates the six supported action types, so an agent can distinguish this from mission, settings, and team editing tools.

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?

Usage is clearly triggered by the user asking for one of the six named actions, and 'Never starts a run' provides an explicit when-not boundary. However, the description does not name sibling tools as alternatives for adjacent tasks.

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