Skip to main content
Glama

Find earlier work

find_works

Search worker sessions by session ID or substring across titles, goals, prompts and last messages to check if work was already done or resume a batch after restart.

Instructions

Every worker of one session, or a substring search over titles, goals, prompts and last messages, newest first. Use it before dispatching to see whether the work was already done, and after a restart to pick a batch up again.

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": "find_works"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavior beyond the schema: the ordering (newest first) and the exact fields scanned by the substring search. However, it says nothing about result shape, the default or maximum page size, empty-result behavior, or what happens when query and session_id are supplied together.

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?

Two dense sentences: behavior first, then usage. No filler. The opening clause is slightly fragmentary and would read better as 'Finds every worker of a session, or...', but the structure is otherwise front-loaded and efficient.

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

Completeness3/5

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

For a 3-parameter, no-annotation, no-output-schema read tool, the definition covers the core modes and motivation but leaves the limit parameter, result structure, and the both-parameters-supplied case undefined. Adequate to call it, not complete enough to predict its output precisely.

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?

Schema description coverage is 0%, so the description must explain all three parameters. It effectively documents session_id (all workers of one session) and query (substring over titles, goals, prompts, last messages), which is real added meaning. The limit parameter is never mentioned, and the interaction/precedence between query and session_id is undefined.

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?

The description states a specific verb (find) and resource (works) and enumerates the two lookup modes: all workers of one session, or a substring search over titles, goals, prompts and last messages. It also declares the ordering (newest first). The phrasing 'Every worker of one session' is elliptical, but an agent can tell this apart from get_worker or describe_session as a broad discovery/search tool.

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

Usage Guidelines4/5

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

Gives two explicit when-to-use conditions: before dispatching, to check whether work was already done, and after a restart, to pick a batch back up. It does not name alternatives (e.g., use get_worker when the ID is already known), so it stops short of full routing guidance, but the positive conditions are concrete and actionable.

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