Skip to main content
Glama

add_capture

Capture physical receipts or typed notes for later processing. Add images and text to the inbox, allowing you to record shopping lists or store item information instantly, even offline.

Instructions

Put something in the inbox to be read later: a photographed paper receipt, a scanned barcode, or a typed note ("2 milk, bread, 6 eggs").

Capture and reading are deliberately separate. Capturing must work instantly, offline, one-handed, in a shop — reading needs a model. This is how a phone can contribute to a database it cannot reason about.

Photos are stored as files (see path); the row records where. Nothing here is stock yet: an agent calls list_captures(), reads it, calls add_items(), then resolve_capture().

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": {
      "kind": "<kind>"
    },
    "name": "add_capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
mimeNo
pathNo
textNo
deviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose real behavior: capture is fast/offline/one-handed, capture and interpretation are deliberately decoupled, and photos are written as files with only the path recorded on the row. It leaves out failure behavior, deduplication, and whether a capture can be undone (discard_item exists), which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core purpose is front-loaded and the workflow sentence lands well, but the second paragraph editorializes ('This is how a phone can contribute to a database it cannot reason about') without adding selection or invocation value. The line wrapping also fragments the description mid-sentence.

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?

No annotations and no output schema, and the description never says what comes back from a successful capture (a capture id?), which an agent needs to chain into resolve_capture. Purpose is well covered, but the parameter contract for a 5-param tool is only partially complete.

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 coverage is 0%, so the description must define all five parameters. It meaningfully explains path (photos are files; the row stores where), implies text via the '2 milk, bread, 6 eggs' example, and hints at kind through the input examples, but mime and device are never mentioned and the conditional requirement logic (which of path/text is needed for each kind) is unstated.

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?

States a concrete verb and resource ('Put something in the inbox to be read later') and immediately enumerates the three input shapes it accepts: photographed receipt, scanned barcode, typed note. It also hard-distinguishes capture from reading, so an agent can tell it apart from list_captures/add_items/resolve_capture without opening any schema.

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?

The capture-vs-read split and the lifecycle ('an agent calls list_captures(), reads it, calls add_items(), then resolve_capture()') give clear when-to-use context, plus an explicit exclusion ('Nothing here is stock yet'). It does not state when to skip capture in favor of writing stock directly, so it stops just short of full alternative routing.

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