Skip to main content
Glama

task_search

Read-only

Search tasks in a project (lightweight summaries). Always pass projectId. Every successful response includes delegation (your human supervisor, advisory responsibility role, and credential-authorized capabilities) plus projectPolicy; follow both. Pass policyVersion (the projectPolicy.version you already hold) and an unchanged policy comes back without content (version, changeSummary, updatedAt, contentHash only); omit it to re-read the full text. Responsibility roles never filter results. For multi-workspace OAuth connections, pass workspaceId from statelode://workspace to target a non-default workspace; ungranted ids are rejected. Never guess a projectId: searching never creates anything, and an unknown projectId returns an unknown_project error listing the selected workspace's real slugs (knownProjects) — pick one of those and retry. Every response also includes workflow: this project's statuses as { key, name, category, hidden } — projects define their own columns, so use a key (stable) or a category for status, never a display name. With NO status, results are limited to 'active' tasks only — so an empty result does NOT prove a task is absent; pass an explicit status (or an array, e.g. backlog+active+in_progress+review+done+blocked) before concluding nothing matches. Default limit is 10 (max 50). The response echoes appliedStatus and appliedLimit, and sets hasMore:true when the limit truncated the results. Optional sprint filter: a sprint id, 'active' (the project's active sprint), or 'none' (unsprinted). Optional type (bug|feature|improvement) and tag (any case) filters. Role filters: owner, worker, reviewer (a member's email or name, or 'me'), e.g. reviewer:'me' + status:'review' is your review queue; reviewer:'none' lists tasks without one. Use this FIRST; only call task_get when you need a full body.

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": {
      "projectId": "<projectId>"
    },
    "name": "task_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
typeNo
limitNo
ownerNo
queryNo
sprintNo
statusNo
workerNo
assigneeNo
priorityNo
requestsNo
reviewerNo
projectIdYes
workspaceIdNoA workspace id from statelode://workspace. Explicit input overrides every default. For repository work, pass the workspaceId pinned in statelode.json. Project-creating mutations require this when a multi-workspace grant has no human-selected default.
policyVersionNoThe projectPolicy.version you already hold. If still current, projectPolicy comes back without content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / tag
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "enum": [
      +    "bug",
      +    "feature",
      +    "improvement"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / policyVersion
      Added value: +{
      +  "description": "The projectPolicy.version you already hold. If still current, projectPolicy comes back without content.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / reviewer
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description goes far beyond them, disclosing the delegation/projectPolicy payload, policyVersion echo behavior, workspaceId rejection for ungranted ids, the unknown_project error shape with knownProjects, default limit and max, appliedStatus/appliedLimit echoing, and hasMore truncation signaling.

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?

Front-loaded and information-dense with almost no filler, but it is a single sprawling paragraph where the sprint/type/tag/role-filter details are buried mid-stream. Splitting the filter semantics from the response-shape disclosure would improve scanability.

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

Completeness5/5

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

No output schema exists, so the description's account of the response envelope — delegation, projectPolicy, workflow, appliedStatus, appliedLimit, hasMore — fills that gap. For a read-only search with 15 params, the critical behavioral traps (default active-only, projectId guessing) are all covered.

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 coverage is only 13%, so the description must carry the load, and it substantially does: sentinel values ('active', 'none', 'me'), the prohibition on display names for status, role-filter semantics including reviewer:'none', and workspaceId sourcing from statelode://workspace. It leaves query, assignee, priority, and requests entirely unaddressed, which is a real gap given 15 parameters.

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?

Opens with a specific verb+resource ("Search tasks in a project") and immediately qualifies scope ("lightweight summaries"), which cleanly separates it from the heavier task_get. An agent can place this tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says "Use this FIRST; only call task_get when you need a full body," and names the alternative. It also front-loads the mandatory projectId and the crucial caveat that an empty result without an explicit status does not prove absence.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.