Skip to main content
Glama
hortusys

android-sqlite-inspector

by hortusys

Query Database

query

Execute read-only SQL SELECT queries on Android SQLite databases and return JSON results. Pulls a fresh device copy before running to ensure current data.

Instructions

Execute a read-only SQL SELECT query. Returns results as JSON. Pulls a fresh copy from the device before querying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYesSQL SELECT query to execute
databaseYesDatabase filename (e.g. app.db)
Install Server

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden. It discloses that the operation is read-only, returns results as JSON, and pulls a fresh copy from the device before querying. This gives useful, non-obvious behavioral context beyond a simple 'run query' statement.

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?

The description is three short sentences, each conveying essential information: the operation type, the output format, and the data freshness behavior. There is no redundancy or filler.

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?

For a simple two-parameter read-only query tool, the description covers the core behavior, output format, and a notable implementation detail. It could mention alternatives or limitations, but nothing critical is missing for an agent to invoke the tool correctly.

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?

The schema covers 100% of parameter descriptions, so the baseline is 3. The description does not add additional meaning to the sql or database parameters beyond what the schema already provides, which is acceptable given the high schema coverage.

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 executes a read-only SQL SELECT query, which is a specific verb and resource. The phrase 'read-only' helps distinguish it from sibling tools like execute that may allow write operations, even though the sibling is not named explicitly.

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 for read-only SQL SELECT queries, providing some context. However, it gives no explicit guidance on when to choose this tool over siblings like query_paginated, multi_query, or execute, nor does it mention any exclusions.

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

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/hortusys/android-sqlite-inspector'

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