Skip to main content
Glama
psxdata

psxdata-mcp

by psxdata

load_eligible_scrips

Load margin-trading eligible scrips by market category into the eligible_scrips table to support PSX margin-trading eligibility queries.

Instructions

Load margin-trading eligible scrips by market category into table eligible_scrips.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for what is plainly a write/ingest operation. It says data lands in eligible_scrips but not whether it replaces or appends to existing rows, whether it is idempotent, or what auth/rate constraints apply.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the destination table is stated up front. It is appropriately sized for a no-argument ingestion tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and with zero parameters the schema side is trivially complete. What is missing for a table-writing tool is the write semantics (overwrite vs append) and any safety context, which the absent annotations leave fully on the description.

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 tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description's reference to 'market category' could mislead an agent into looking for a filter that does not exist, but no parameter meaning is left unclear.

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?

States a specific verb (Load) and resource (margin-trading eligible scrips) plus the destination table, which distinguishes it from the other load_* siblings that target different data domains. The phrase 'by market category' is slightly ambiguous given there is no category parameter.

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

Usage Guidelines2/5

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

No guidance on when to run this versus load_screener, load_symbols, or the other load_* tools, and no indication of prerequisites or whether it should be run before/after related loads. The agent must infer usage entirely from the name.

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