Skip to main content
Glama

get_tasks

Query a local SQLite database to retrieve tasks filtered by status, project, or owner.

Instructions

Query tasks from the SQLite database with optional filters.

Args:
    status: Filter by status -- "open", "done", "blocked", or "" for all.
    project_id: Filter by project. Empty = all projects.
    owner: Filter by owner. Empty = all owners.
    limit: Maximum results (default 25).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoopen
project_idNo
ownerNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the database source and filtering behavior but does not explicitly state it is a read-only operation or discuss default parameter behavior (e.g., default status='open' is only in schema, not description).

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 concise, front-loads the purpose, and uses a clean bullet-style list for parameters. Every sentence is informative and no unnecessary text is present.

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 presence of an output schema, the description does not need to explain return values. It covers the key aspects: source, filters, and limit. It could mention default behavior explicitly but is otherwise complete for a simple query tool.

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 description coverage is 0%, and the description compensates by explaining each parameter's meaning and allowed values (e.g., status: 'open', 'done', 'blocked', or ''). This adds significant value beyond the bare schema.

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 'Query tasks from the SQLite database with optional filters,' specifying the verb (query), resource (tasks), and source (SQLite database), which distinguishes it from sibling tools like create_task or delete_task.

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 outlines filter parameters but does not explicitly state when to use this tool versus alternatives or provide exclusion criteria. Usage is implied through the parameter list, but no explicit guidance is given.

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/SVerITG/Metis_PH'

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