Skip to main content
Glama
Data Sniper MCP Server

Data Sniper MCP Server

Official

export_query_results

Generate one-click download links for filtered leads or SQL query results in XLSX, CSV, JSON, or HTML to save and share data.

Instructions

Generates direct, one-click download links (.XLSX, .CSV, .JSON, .HTML) for filtered leads or SQL query results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_query_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlNo
cityNo
jobIdNo
formatNo
columnsNo
keywordNo
hasEmailNo
hasPhoneNo
hasSocialNo
socialPlatformNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does add one useful fact — the tool returns download links rather than the file bytes — but says nothing about whether exports are synchronous, whether large result sets time out, whether the operation is read-only, or what permissions are needed before calling it.

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 zero filler: the action, the output formats, and the input domains come first. It is efficient, but its brevity is part of the information gap rather than purely a virtue.

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

Completeness2/5

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

For a 10-parameter tool with no annotations, no output schema, and zero documented parameters, the description is far too thin. It should at minimum explain which fields are required for each export mode, how sql interacts with the lead filters, and what the returned link looks like or how long it remains valid.

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?

Schema description coverage is 0% across 10 parameters, so the description must compensate and largely does not. It maps loosely to the format enum and implies a sql-vs-filter split, but city, jobId, columns, keyword, hasEmail, hasPhone, hasSocial, and socialPlatform get no explanation of meaning, interaction, or mutual exclusivity.

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+resource ('Generates direct, one-click download links') and names the four output formats and the two input domains (filtered leads, SQL query results). An agent can tell what the tool produces, though it never distinguishes itself from siblings like export_job or get_job_leads, which appear to overlap.

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 when-to-use guidance and no alternatives named. The description hints at two modes (filtered leads vs. SQL results) but never says which parameters select which mode, whether sql overrides the filter fields, or when to prefer this over export_job. The agent must infer everything from the schema.

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