Skip to main content
Glama
resuly

io.github.resuly/daleads-mcp

by resuly

sql_query

Run read-only SQL queries on Australian development application records to analyze property data, filter by council, status, or location, and extract insights from DA Leads.

Instructions

Run a read-only SQL query against DA records. Pro plan only.

Query the 'das' table with columns: id, address, address_suburb, address_postcode, council_name, council_reference, state, trade_category, sub_category, application_type, is_residential, lodgement_date, status, cost_of_development, decision_date, decision_status, on_notice_from, on_notice_to, number_of_dwellings, lot_count, land_use, building_type, storeys, latitude, longitude, data_source, date_fetched, documents, info_url. Description and summary are deliberately unavailable because council free text may contain personal contact details.

Max 1000 rows. 10 second timeout. SELECT only.

Args: query: SQL SELECT query using table name 'das' params: Optional parameters for %s placeholders

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
paramsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description must disclose behavior itself, and it does explicitly: 'read-only', 'SELECT only', max rows, timeout, and Pro plan requirement. It also explains why description/summary columns are unavailable, adding valuable context. It lacks error-handling or rate-limit details but is quite transparent overall.

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 with the purpose, then structured into schema, limits, and arguments. The column list is long but necessary for a SQL interface, and each sentence contributes useful info. It is not overly verbose, though it could be slightly tighter.

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 and lack of annotations, the description supplies the full schema, constraints, and argument semantics, which is essential for invoking SQL correctly. It even explains the absence of certain columns, providing operational depth. With an output schema present, this is sufficiently complete, though examples of query syntax are absent.

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 description compensates for 0% schema coverage by explaining that the query must use table name 'das' and that params are for SQL %s placeholders. It enumerates all available columns, giving full meaning to the parameters beyond the bare schema types. This is valuable operational guidance.

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 begins with 'Run a read-only SQL query against DA records', which clearly states a specific verb and resource. It also lists the exact table and columns, distinguishing it from sibling tools like search_das or get_da that use different retrieval methods. The addition of 'Pro plan only' is a constraint, not a clouding of purpose.

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 description implies usage—any time SQL is needed against DA records—but does not explicitly contrast with sibling tools or state when not to use it. It provides clear operational constraints like row limits and timeout, but no alternative recommendations, so guidance is mostly implied.

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/resuly/daleads-mcp'

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