Skip to main content
Glama
saldraykee22

Rasattrading MCP

by saldraykee22

set_risk_policy

Define a trading account's risk policy: set caps on per-order notional and aggregate exposure, restrict allowed symbols, and preserve current values unless cleared.

Instructions

Hesap için isteğe bağlı risk politikası tanımlar: max_notional_per_order, max_aggregate_exposure, allowed_symbols. Varsayılan tamamen boş/limitsiz. Cap'ler KATI üst sınırdır — tolerans uygulanmaz, yuvarlama sonrası nihai değer <= cap olmalıdır. Patch'te gönderilmeyen değerler korunur; temizleme yalnızca açık clear_max_notional, clear_max_exposure veya clear_allowed_symbols boolean'larıyla yapılır.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
request_idNo
allowed_symbolsNo
idempotency_keyNo
clear_max_exposureNomax_aggregate_exposure değerini temizle
clear_max_notionalNomax_notional_per_order değerini temizle
clear_allowed_symbolsNoallowed_symbols listesini temizle
max_aggregate_exposureNo
max_notional_per_orderNo
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It clearly discloses strict cap enforcement (no tolerance, final value must be <= cap after rounding), patch preservation semantics, and the explicit clearing mechanism. These are critical behavioral traits beyond the schema, though it does not address permissions, rate limits, or error behavior.

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 three dense sentences covering purpose, defaults, strict caps, and patch/clear semantics with no filler. It is well-structured and front-loaded, though slightly lengthy in Turkish.

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 9-parameter tool with no output schema and no annotations, the description covers the core policy fields and clearing behavior but omits mention of account_id, request_id, and idempotency_key. It also does not describe the return value or error cases, leaving some ambiguity for correct invocation.

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?

The description adds meaning for the three primary policy fields and the three clear booleans (explaining strict caps and clearing). However, schema description coverage is only 33%, and the description does not explain account_id, request_id, or idempotency_key, leaving these parameters undocumented and not fully compensating for the coverage gap.

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 clearly states the tool's purpose with the specific verb 'tanımlar' (defines/sets) and resource 'risk policy' for an account, listing the affected fields (max_notional_per_order, max_aggregate_exposure, allowed_symbols). It distinguishes itself from sibling tools like get_risk_policy (read) and override_risk_policy by detailing patch semantics and explicit clear flags.

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?

The description provides clear usage context: the default state is empty/unlimited, values not sent in a patch are preserved, and clearing only happens via explicit booleans. This implicitly guides when to use this tool for partial updates. However, it does not explicitly mention alternatives like override_risk_policy or state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saldraykee22/rasattrading-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server