sell_shares

Sell outcome shares back to an ACTIVE market. If num_shares is omitted, the tool reads the on-chain position and sells everything for that outcome. Requires an active wallet (call set_wallet first). Amounts in responses are micro-USDC (1 USDC = 1,000,000).

Server Question Market qmrkt/mcp-server
Category Financial
Risk class Critical
Parameters 00 required

What sell_shares does on Question Market

AI agents use sell_shares to commit financial operations through Question Market — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Why sell_shares needs a policy

Selling shares on a prediction market directly moves financial assets (USDC) and constitutes a financial transaction. Misuse could result in unintended liquidation of positions or financial loss, warranting critical severity given it operates on real funds with no mention of reversibility.

From the tool's definition 'Sell outcome shares back to an ACTIVE market' and 'trading through natural language' — this tool executes a financial transaction on a prediction market, exchanging shares for USDC on the Algorand blockchain.

Risk signalsBulk/mass operation — affects multiple targets

Questions about sell_shares

What does the sell_shares tool do? +

Sell outcome shares back to an ACTIVE market. If num_shares is omitted, the tool reads the on-chain position and sells everything for that outcome. Requires an active wallet (call set_wallet first). Amounts in responses are micro-USDC (1 USDC = 1,000,000). It is categorised as a Financial tool in the Question Market MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on sell_shares? +

Register the Question Market MCP server in PolicyLayer and add a rule for sell_shares: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Question Market. Nothing to install.

What risk level is sell_shares? +

sell_shares is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit sell_shares? +

Yes. Add a rate_limit block to the sell_shares rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block sell_shares completely? +

Set action: deny in the PolicyLayer policy for sell_shares. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides sell_shares? +

sell_shares is provided by the Question Market MCP server (qmrkt/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.