Skip to main content
Glama
aarondotdev

tracking-requests-mcp

by aarondotdev

db_query

Run read-only SQL queries (SELECT, WITH, EXPLAIN, SHOW) on the tracking-requests database. Use bind parameters ($1, $2, ...) and choose environment (dev/prod).

Instructions

Run a READ-ONLY SQL query (SELECT/WITH/EXPLAIN/SHOW only; single statement) against the tracking-requests DB. Escape hatch for anything the curated tools don't cover. Params are passed as $1,$2,… bind values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoTarget database environment (wired now: dev). Defaults to dev (safe).dev
sqlYesA single read-only SQL statement.
paramsNoBind values for $1,$2,…
Behavior4/5

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

With no annotations provided, the description carries the full burden. It clearly states the tool is read-only, allows only specific SQL statement types, and is single-statement. It also hints at the binding syntax. It does not specify error handling or permissions, but the core behavioral trait (read-only) is well communicated.

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 the core action and constraints. Every sentence is informative and earns its place. No wasted words.

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?

Given the tool's complexity (direct SQL execution), the description covers the query types allowed, database target, parameter binding, and the escape hatch role. It does not describe the return format (e.g., rows as JSON), which might be assumed. Overall, it is largely complete for the usage context.

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% (3 parameters described), so baseline 3. The description adds value by explaining that parameters are passed as $1,$2,… bind values, which clarifies usage beyond the schema's type definitions. This is a meaningful addition for an AI agent.

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 clearly states the tool runs read-only SQL queries (SELECT/WITH/EXPLAIN/SHOW only) against a specific database. It uses a specific verb ('Run') and resource term ('SQL query'), and distinguishes itself from sibling tools by being an 'escape hatch' for queries not covered by curated tools.

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

Usage Guidelines4/5

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

The description explicitly positions the tool as an 'escape hatch' for cases not covered by other tools, providing good context. It also restricts usage to read-only queries. However, it does not explicitly list when not to use it or name specific alternatives, though the sibling list implies the alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aarondotdev/fedex-label-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server