Skip to main content
Glama

VARRD — Statistically Validated Trading Edges + AI Research Engine

my_trading_data

Read-onlyIdempotent

One read-only SQL query (SELECT or WITH) over THIS account's own trade record. Only ever the account this key belongs to. Free. See a table's columns with: SELECT * FROM LIMIT 1.

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": {
      "sql": "<sql>"
    },
    "name": "my_trading_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYesOne SELECT or WITH statement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and closed-world scope, so the safety profile is covered. The description adds two things annotations cannot: the query touches only the calling key's own account data, and it is free (no credit spend), which matters given buy_credits and check_balance siblings. It does not disclose row limits, timeouts, or error behavior for malformed SQL.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the operation and scope, then cost, then a column-discovery tip. Nothing is padded and no sentence restates another.

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 one-parameter tool with no output schema, the description covers scope, allowed statement types, cost, and schema discovery — enough to call it correctly. The remaining gap is return shape and result-size behavior, which an agent probing an unfamiliar SQL endpoint would benefit from knowing.

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 the single sql parameter at 100% coverage, so the baseline is 3. The description adds real meaning on top: only one statement, and only SELECT or WITH — constraints the schema's 'One SELECT or WITH statement.' phrasing supports but the surrounding text reinforces with account scoping.

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 names a specific verb and resource — one read-only SQL query (SELECT or WITH) over this account's own trade record — plus a hard scoping constraint to the key's own account. It is clear enough to distinguish from write-oriented siblings like upload_trading_data, though it never names an alternative query tool explicitly.

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 is implied by the constraints (read-only, single statement, own account only) and it offers a practical way to discover columns via 'SELECT * FROM <table> LIMIT 1'. However, it never states when to prefer a sibling such as search or varrd_ai over raw SQL, nor any explicit exclusions.

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.