Skip to main content
Glama
quantitats

quantitats-mcp

Official
by quantitats

Create a script

create_script

Stores a new strategy script for the Quantitats trading API, checking name availability and plan script allowance. Requires the scripts:write scope.

Instructions

Stores a new strategy script. Answers 409 if the name is already in use and 403 if the plan's script allowance is used, naming the plan and the count. Editing or deleting a script is never counted.

Requires the scripts:write scope.

Rate limit: 30 requests per minute for your key, shared across every tool in the control-plane group. Changing configuration is metered far more tightly than reading it. Creating, reconfiguring, stopping and deleting all share this budget, so make one considered change rather than a sequence of adjustments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new script. Must be unused.
scriptYesThe script source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare the generic safety profile (not read-only, not idempotent, not destructive). The description adds substantive behavior beyond them: the 409 duplicate-name conflict, the 403 plan-allowance failure naming the plan and count, the required `scripts:write` scope, and a shared 30 req/min group budget with the warning that writes are metered tighter than reads.

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?

Front-loaded with the core action and the two failure modes, then scope, then rate limits — a sensible ordering with no filler. The rate-limit paragraph is group-wide boilerplate rather than tool-specific, which keeps it from a 5.

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 non-idempotent write tool with no output schema, the description covers exactly what's missing from structured fields: auth scope, both error conditions, and a quota that constrains retry/batching behavior. An agent has everything needed to call it correctly and to interpret failures.

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?

Both parameters are fully documented in the schema (100% coverage), including the 'must be unused' constraint on `name`. The description adds no syntax or format detail beyond the schema, so the baseline 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?

States a specific verb+resource ('Stores a new strategy script') — creation is unambiguous, and the 409-on-duplicate-name detail reinforces that this is a create, not an update. It does not explicitly name or differentiate from its siblings update_script/delete_script, so it stops short of a 5.

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?

Usage context is implied rather than stated: the note that 'Editing or deleting a script is never counted' points at update_script/delete_script, and the rate-limit advice ('make one considered change rather than a sequence of adjustments') guides batching. But it never says explicitly when to pick this over those siblings.

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