Skip to main content
Glama

Save and Reuse Market Research

reuse_market_research
Idempotent

Research 1.24 adds action sweep: supply exactly one inline query or reference and sweep axes symbols, intervals, named periods {name,from_ms,to_ms}, scalar parameters {path,values}. At most 12 distinct Cartesian cells, one server time pin and one atomic source-matrix capture; rows retain every original statistic/count/flag and report/query ID. No winning row is selected; intervals are unadjusted across cells. Invalid cells fail the whole batch. Same supported markets only. Save an immutable public research template or reuse a previously saved query/complete anchor set. action save_template takes name and a Rust-validated query without executing candles; inspect reads a template_id, query_id or report_id from saved_research (1.23+). explain/execute takes reference, use query or anchors, and explicit overrides: symbols, interval, from_ms, to_ms, as_of_ms, observe, select. observe/select replace their entire block; null date bounds clear them. Saved result queries retain their pinned time; as_of_ms:0 pins a new time. Exact anchors require one original/target market and unchanged interval, never reuse capped episode listings. Stored IDs survive report URL expiry and restarts. Snapshot changes and baseline changes are explicitly disclosed. Templates are public by ID, immutable, not private account state. Same supported markets only. NO_TRADE.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "sweep",
      -        "type": "string"
      -      },
      -      "as_of_ms": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "force_refresh": {
      -        "type": "boolean"
      -      },
      -      "query": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      },
      -      "reference": {
      -        "type": "string"
      -      },
      -      "sweep": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "intervals": {
      -            "items": {
      -              "enum": [
      -                "5m",
      -                "15m",
      -                "1h",
      -                "4h",
      -                "1d"
      -              ],
      -              "type": "string"
      -            },
      -            "maxItems": 5,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "parameters": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "path": {
      -                  "maxLength": 128,
      -                  "type": "string"
      -                },
      -                "values": {
      -                  "items": {
      -                    "anyOf": [
      -                      {
      -                        "type": "number"
      -                      },
      -                      {
      -                        "maxLength": 64,
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "boolean"
      -                      }
      -                    ]
      -                  },
      -                  "maxItems": 12,
      -                  "minItems": 1,
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "path",
      -                "values"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "periods": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "from_ms": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "name": {
      -                  "maxLength": 64,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "to_ms": {
      -                  "exclusiveMinimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "from_ms",
      -                "to_ms"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 12,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "symbols": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "sweep"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "save_template",
      -        "type": "string"
      -      },
      -      "name": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "query": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "name",
      -      "query"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "inspect",
      -        "type": "string"
      -      },
      -      "include_result": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "explain",
      -        "type": "string"
      -      },
      -      "detail": {
      -        "enum": [
      -          "compact",
      -          "full"
      -        ],
      -        "type": "string"
      -      },
      -      "force_refresh": {
      -        "type": "boolean"
      -      },
      -      "overrides": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "as_of_ms": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "from_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "interval": {
      -            "enum": [
      -              "5m",
      -              "15m",
      -              "1h",
      -              "4h",
      -              "1d"
      -            ],
      -            "type": "string"
      -          },
      -          "observe": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "select": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "symbols": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "to_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "use": {
      -        "default": "query",
      -        "enum": [
      -          "query",
      -          "anchors"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "execute",
      -        "type": "string"
      -      },
      -      "detail": {
      -        "enum": [
      -          "compact",
      -          "full"
      -        ],
      -        "type": "string"
      -      },
      -      "force_refresh": {
      -        "type": "boolean"
      -      },
      -      "overrides": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "as_of_ms": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "from_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "interval": {
      -            "enum": [
      -              "5m",
      -              "15m",
      -              "1h",
      -              "4h",
      -              "1d"
      -            ],
      -            "type": "string"
      -          },
      -          "observe": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "select": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "symbols": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "to_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "use": {
      -        "default": "query",
      -        "enum": [
      -          "query",
      -          "anchors"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "sweep",
      +        "type": "string"
      +      },
      +      "as_of_ms": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "query": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      },
      +      "reference": {
      +        "type": "string"
      +      },
      +      "sweep": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "intervals": {
      +            "items": {
      +              "enum": [
      +                "5m",
      +                "15m",
      +                "1h",
      +                "4h",
      +                "1d"
      +              ],
      +              "type": "string"
      +            },
      +            "maxItems": 5,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "parameters": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "path": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "values": {
      +                  "items": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "maxLength": 64,
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "boolean"
      +                      }
      +                    ]
      +                  },
      +                  "maxItems": 12,
      +                  "minItems": 1,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "path",
      +                "values"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "periods": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "from_ms": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "maxLength": 64,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "to_ms": {
      +                  "exclusiveMinimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "from_ms",
      +                "to_ms"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 12,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 4,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "sweep"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "save_template",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "query": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "name",
      +      "query"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "inspect",
      +        "type": "string"
      +      },
      +      "include_result": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "explain",
      +        "type": "string"
      +      },
      +      "detail": {
      +        "enum": [
      +          "compact",
      +          "full"
      +        ],
      +        "type": "string"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "overrides": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "as_of_ms": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "from_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "interval": {
      +            "enum": [
      +              "5m",
      +              "15m",
      +              "1h",
      +              "4h",
      +              "1d"
      +            ],
      +            "type": "string"
      +          },
      +          "observe": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "select": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 4,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "to_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "use": {
      +        "default": "query",
      +        "enum": [
      +          "query",
      +          "anchors"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "execute",
      +        "type": "string"
      +      },
      +      "detail": {
      +        "enum": [
      +          "compact",
      +          "full"
      +        ],
      +        "type": "string"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "overrides": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "as_of_ms": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "from_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "interval": {
      +            "enum": [
      +              "5m",
      +              "15m",
      +              "1h",
      +              "4h",
      +              "1d"
      +            ],
      +            "type": "string"
      +          },
      +          "observe": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "select": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 4,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "to_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "use": {
      +        "default": "query",
      +        "enum": [
      +          "query",
      +          "anchors"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "save_template",
      -        "type": "string"
      -      },
      -      "name": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "query": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "name",
      -      "query"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "inspect",
      -        "type": "string"
      -      },
      -      "include_result": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "explain",
      -        "type": "string"
      -      },
      -      "detail": {
      -        "enum": [
      -          "compact",
      -          "full"
      -        ],
      -        "type": "string"
      -      },
      -      "force_refresh": {
      -        "type": "boolean"
      -      },
      -      "overrides": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "as_of_ms": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "from_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "interval": {
      -            "enum": [
      -              "5m",
      -              "15m",
      -              "1h",
      -              "4h",
      -              "1d"
      -            ],
      -            "type": "string"
      -          },
      -          "observe": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "select": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "symbols": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "to_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "use": {
      -        "default": "query",
      -        "enum": [
      -          "query",
      -          "anchors"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "execute",
      -        "type": "string"
      -      },
      -      "detail": {
      -        "enum": [
      -          "compact",
      -          "full"
      -        ],
      -        "type": "string"
      -      },
      -      "force_refresh": {
      -        "type": "boolean"
      -      },
      -      "overrides": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "as_of_ms": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "from_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "interval": {
      -            "enum": [
      -              "5m",
      -              "15m",
      -              "1h",
      -              "4h",
      -              "1d"
      -            ],
      -            "type": "string"
      -          },
      -          "observe": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "select": {
      -            "additionalProperties": {},
      -            "type": "object"
      -          },
      -          "symbols": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 3,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "to_ms": {
      -            "anyOf": [
      -              {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "reference": {
      -        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "use": {
      -        "default": "query",
      -        "enum": [
      -          "query",
      -          "anchors"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "reference"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "sweep",
      +        "type": "string"
      +      },
      +      "as_of_ms": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "query": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      },
      +      "reference": {
      +        "type": "string"
      +      },
      +      "sweep": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "intervals": {
      +            "items": {
      +              "enum": [
      +                "5m",
      +                "15m",
      +                "1h",
      +                "4h",
      +                "1d"
      +              ],
      +              "type": "string"
      +            },
      +            "maxItems": 5,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "parameters": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "path": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "values": {
      +                  "items": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "maxLength": 64,
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "boolean"
      +                      }
      +                    ]
      +                  },
      +                  "maxItems": 12,
      +                  "minItems": 1,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "path",
      +                "values"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 3,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "periods": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "from_ms": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "maxLength": 64,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "to_ms": {
      +                  "exclusiveMinimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "from_ms",
      +                "to_ms"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 12,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 3,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "sweep"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "save_template",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "query": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "name",
      +      "query"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "inspect",
      +        "type": "string"
      +      },
      +      "include_result": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "explain",
      +        "type": "string"
      +      },
      +      "detail": {
      +        "enum": [
      +          "compact",
      +          "full"
      +        ],
      +        "type": "string"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "overrides": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "as_of_ms": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "from_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "interval": {
      +            "enum": [
      +              "5m",
      +              "15m",
      +              "1h",
      +              "4h",
      +              "1d"
      +            ],
      +            "type": "string"
      +          },
      +          "observe": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "select": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 3,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "to_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "use": {
      +        "default": "query",
      +        "enum": [
      +          "query",
      +          "anchors"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "execute",
      +        "type": "string"
      +      },
      +      "detail": {
      +        "enum": [
      +          "compact",
      +          "full"
      +        ],
      +        "type": "string"
      +      },
      +      "force_refresh": {
      +        "type": "boolean"
      +      },
      +      "overrides": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "as_of_ms": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "from_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "interval": {
      +            "enum": [
      +              "5m",
      +              "15m",
      +              "1h",
      +              "4h",
      +              "1d"
      +            ],
      +            "type": "string"
      +          },
      +          "observe": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "select": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "symbols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 3,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "to_ms": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "reference": {
      +        "pattern": "^(?:rqt_|rqr_)[a-f0-9]{64}$|^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "use": {
      +        "default": "query",
      +        "enum": [
      +          "query",
      +          "anchors"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "reference"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), yet the description still adds substantive behavior: at most 12 Cartesian cells, one server time pin and one atomic source-matrix capture, all-or-nothing failure ("Invalid cells fail the whole batch"), no winning row selected, unadjusted intervals. It also discloses consequences annotations cannot express — templates are public-by-ID and immutable, stored IDs survive URL expiry and restarts, and mutation via save_template is distinct from read paths.

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

Conciseness2/5

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

The text is a dense run-on block that front-loads a release note rather than the main purpose, mixes action docs, invariants, and failure modes with no structure, and ends with an unexplained "NO_TRADE." Several constraints ("Same supported markets only") are repeated, and jargon like "action sweep" and "Rust-validated" is unexplained, forcing re-reads.

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 five-action tool with no output schema, it covers a lot: per-action inputs, time-pinning semantics, atomicity, immutability, and ID persistence across expiry/restart. What is underexplained is the returned payload shape for execute/explain (beyond "rows retain every original statistic/count/flag") and how the inspect include_result flag changes output, which matters given no output schema exists.

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?

Schema coverage is 100%, so the baseline is 3, but the description actively adds semantics the schema cannot: observe/select "replace their entire block", "null date bounds clear them", "as_of_ms:0 pins a new time", and the anchor precondition of one original/target market with unchanged interval. These clarify non-obvious merge vs. replace behavior rather than restating field names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names several concrete actions (sweep, save_template, inspect, explain, execute) and the primitives they operate on (queries, anchors, templates, report/query IDs), so the resource is identifiable. But it opens with a version changelog ("Research 1.24 adds action sweep") instead of a purpose statement, and the core job — save and reuse research — is only inferable from the title. No sibling tool is named to contrast against.

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?

There is real intra-tool routing: save_template "without executing candles", inspect reads a template_id/query_id/report_id, explain/execute take a reference plus use query|anchors. Constraints like "Same supported markets only" and "never reuse capped episode listings" are stated. However, nothing says when to pick this tool over the many research/scan siblings, so the guidance is implied rather than comparative.

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.

Resources