Skip to main content
Glama
CAISO SP15 OASIS MCP

CAISO SP15 OASIS MCP

by AimePython

query_sql

Run a read-only SELECT against the local CAISO SP15 SQLite database to retrieve hour-level price, capacity, ancillary service, and shadow price rows, with a default 200-row and 1000-row maximum return limit.

Instructions

对本地库执行一条只读 SELECT。表名见 dataset_coverage 的 queryable_tables。

只能有一条语句。写入会被拒绝。默认最多返回 200 行,上限 1000。

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": "query_sql"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Since no annotations are provided, the description is highly effective by explicitly stating the hard limits (default 200, upper limit 1000) and safety constraints (read-only). This provides significant operational context to an agent not present in the schema.

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?

The description is extremely concise, using short, direct sentences to front-load the most important behavioral and constraint information. There is no unnecessary or redundant wording.

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?

It covers the most critical aspects of an SQL tool: read/write permissions, statement constraints, and data volume limits. This provides a sufficient behavioral profile for an agent to determine if it can safely invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides almost no semantic meaning beyond what is already implied by the function of a query tool. Given the 0% schema description coverage signal, the description fails to compensate for the lack of clarity on the query syntax or limit usage.

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 explicitly defines the tool's action (execute read-only SELECT) and the resource it operates on (local database). This is highly specific and immediately distinguishes it from other specialized query tools among the siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides crucial usage constraints such as allowing only one statement and rejecting write operations. Furthermore, it points to another tool (`dataset_coverage`) to provide the necessary context regarding valid table names.

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