Skip to main content
Glama
company-mcp-server

company-mcp-server

by jaiswalpuza2

query_supabase_table

Read-onlyIdempotent

Query rows from a Supabase table using optional column filters for equality, comparison, and pattern matching. Retrieve read-only results with configurable row limits.

Instructions

Query rows from a Supabase table with optional column filters. Supports equality, comparison, and pattern-match filter operators. Read-only.

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": {
      "table": "<table>"
    },
    "name": "query_supabase_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of rows to return (1–1000, default 100).
tableYesThe Supabase table name to query.
filtersNoOptional column filters. Each key is a column name. Scalar value → equality filter. Object with "op" + "value" → comparison. Supported ops: eq, neq, gt, gte, lt, lte, like, ilike, is, in. Example: {"status":"active","score":{"op":"gte","value":90}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the description's 'Read-only' line is largely redundant. The remaining sentence describes filter capabilities that are already fully documented in the schema, and the description adds no meaningful behavior such as pagination limits, auth requirements, or return behavior.

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?

The description is front-loaded and only three short sentences. The final 'Read-only' sentence repeats annotation information, so not every sentence adds new value, but there is no bloat or disorganization.

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?

For a simple read-only query tool with a fully described input schema, the description is mostly sufficient to select and invoke it. However, there is no output schema and the description does not clarify the shape of returned rows or behavior around limits, leaving a clear contextual gap.

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 table, filters, operators, and limit in detail. The description mentions optional column filters and groups operators as equality, comparison, and pattern-match, but adds no syntax or format detail beyond the schema.

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?

The description states a specific verb and resource: query rows from a Supabase table. It names the supported filter capabilities and read-only nature. It is clear, but it does not explicitly distinguish itself from sibling query tools such as query_notion_database.

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 use case is implied by naming Supabase as the target system and describing row queries with filters. There is no explicit when-to-use guidance, no exclusions, and no comparison to alternatives such as query_notion_database or get_notion_page.

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