Skip to main content
Glama
longbridge

longbridge

Official

Today's Executions

today_executions
Read-onlyIdempotent

Retrieve today's completed trade fills, including order ID, symbol, side, quantity, price, and execution time. Filter by symbol or order ID to isolate specific executions.

Instructions

Get today's trade executions (fills). Returns executions[]{order_id, trade_id, symbol, side, quantity, price, trade_done_at}. Pass symbol or order_id to filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_jqNoOptional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response.
symbolNoFilter by symbol, e.g. "700.HK".
order_idNoFilter by a specific order_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • addedInput schema / properties / _jq / description
      Added value: +"Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response."
  2. Changed1 schema field changedv0.10.6
    • addedInput schema / properties / _jq
      Added value: +{
      +  "type": "string"
      +}
  3. Changed1 schema field changedv0.7.1
    • removedInput schema / title
      Removed value: -"TodayExecutionsParam"
  4. Addedv0.4.5
  5. Removedv0.4.0
  6. Addedv0.3.2
  7. Removedv0.3.1
  8. First observedv0.1.12

TDQS

A3.8/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 destructiveHint=false, covering the safety profile. The description adds the return format and filtering behavior, which is useful but not rich behavioral context (e.g., pagination, timezone handling, auth requirements). Since annotations carry the safety burden, the description's additions are moderate but not extensive.

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?

Two sentences, front-loaded with purpose and return structure, with the filtering hint appended. Every word earns its place, and there is no redundancy or fluff. Ideal length for a simple read tool.

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 simple read-only tool with no output schema, the description provides the return format, filtering options, and temporal scope. Annotations cover safety. The only minor gap is the lack of mention of result limits or default behavior (e.g., does it return all executions or a capped list?), but for a 'today' execution list this is likely minor and does not block 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?

Schema description coverage is 100%, so the input schema already documents the parameters (symbol and order_id as filters). The description reiterates 'Pass symbol or order_id to filter' but adds no additional meaning beyond what the schema provides. Baseline of 3 is appropriate when the schema does the heavy lifting.

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 uses a specific verb ('Get'), a clear resource ('today's trade executions (fills)'), and enumerates the returned fields (executions[]{order_id, trade_id, symbol, side, quantity, price, trade_done_at}). It also mentions filtering options, which distinguishes it from sibling tools like history_executions (past) and today_orders (orders vs executions). This is a precise, unambiguous purpose statement.

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?

The description implies the temporal scope ('today's') but does not explicitly state when to use this tool instead of alternatives such as history_executions or today_orders. It provides context but no explicit exclusions or named alternatives, leaving the agent to infer usage from the name and scope. This is adequate but lacks clear routing guidance.

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

Deploy Server

Other Tools