Skip to main content
Glama

Organize with AI (OwAI)

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Organize with AI. If you published it, claim ownership there.

Search photos and videos

search_media
Read-onlyIdempotent

Search the synced OwAI library. Exact source, people and date filters are separate fields combined with AND semantics. Date-only values are UTC calendar days; captured_to includes that complete UTC day. Optional visual_query ranks approximate visual matches, including OCR-style text queries; it does not verify literal words. Each semantic or similarity video result appears once with segment_start_ms for its best-matching sampled frame; images and metadata-only results return null. Hosted visual and similarity searches cost search credits and return search_credits_exhausted when depleted. Metadata-only searches require no inference credits. Results include ownership and paths, not media bytes.

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

Input Schema

NameRequiredDescriptionDefault
sortNoResult order. Newest/oldest use the media file's modification time, which is stable across cloud downloads.relevance
limitNoMaximum results to return.
offsetNoNumber of matching results to skip for pagination.
personNoOne exact recognized-person name. Always use when the user names one person.
group_idNoOnly images in this stable automatic-group ID.
device_idNoOnly assets indexed by this stable device ID, returned by list_media_devices.
person_idNoStable ID for one recognized person.
source_idNoOnly assets in this stable source ID, returned by inspect_library.
group_nameNoOnly images in a group with this exact case-insensitive name.
media_typeNoExact media-type filter. Always use when the user asks specifically for photos/images or videos.
people_idsNoStable recognized-person IDs. Every listed person must occur in each result.
captured_toNoInclusive captured-date upper bound. Always use for before, until, to, or end-date constraints. A YYYY-MM-DD value includes the complete UTC calendar day through 23:59:59 UTC.
source_nameNoExact case-insensitive user-assigned folder/source name. Use when the user mentions a named folder.
people_namesNoExact recognized-person names. Every listed person must occur in each result.
visual_queryNoUnstructured visual content only. OCR-style queries such as text '<your text>' (for example: text 'STOP') rank approximate visual matches, not verified literal word matches or extracted transcripts. Never include people, captured dates, sources, collections, groups, favorites, indexing state, media type, or device. Omit for metadata-only search.
captured_fromNoInclusive captured-date lower bound. Always use for after, since, from, or start-date constraints. A YYYY-MM-DD value starts at 00:00:00 UTC.
collection_idNoOnly assets in this stable collection ID.
favorites_onlyNoReturn only assets marked as favorites.
indexing_stateNoFilter by whether OwAI has finished creating a searchable embedding.any
collection_nameNoOnly assets in a collection with this exact case-insensitive name.
duplicates_onlyNoReturn only images shown in OwAI's potential-duplicates view.
has_reimagines_onlyNoReturn only source images that have generated reimagines.
similar_to_asset_idNoStable OwAI asset ID for visual similarity search. Cannot be combined with visual_query.

Output Schema

NameRequiredDescriptionDefault
resultsYes
search_backendYes
coverage_warningYes
requested_filtersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • changedInput schema / properties / captured_from / description
      Previous value: -"Inclusive captured-date lower bound. Always use for after, since, from, or start-date constraints."New value: +"Inclusive captured-date lower bound. Always use for after, since, from, or start-date constraints. A YYYY-MM-DD value starts at 00:00:00 UTC."
    • changedInput schema / properties / captured_to / description
      Previous value: -"Inclusive captured-date upper bound. Always use for before, until, to, or end-date constraints."New value: +"Inclusive captured-date upper bound. Always use for before, until, to, or end-date constraints. A YYYY-MM-DD value includes the complete UTC calendar day through 23:59:59 UTC."
    • removedInput schema / properties / current_device_id
      Removed value: -{
      -  "description": "The caller's stable device ID, used to report whether each result is locally available.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / indexing_state / enum
      Removed value: -[
      -  "any",
      -  "indexed",
      -  "unindexed"
      -]
    • removedInput schema / properties / media_type / enum
      Removed value: -[
      -  "image",
      -  "video"
      -]
    • removedInput schema / properties / sort / enum
      Removed value: -[
      -  "relevance",
      -  "newest",
      -  "oldest"
      -]
    • removedInput schema / properties / source_name / maxLength
      Removed value: -200
    • removedInput schema / properties / visual_query / maxLength
      Removed value: -500
    • addedOutput schema / properties / results / items / properties / device / properties / last_seen_at / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / results / items / properties / device / properties / last_seen_at / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / results / items / properties / duration_ms / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / results / items / properties / duration_ms / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / results / items / properties / segment_start_ms / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / results / items / properties / segment_start_ms / description
      Previous value: -"Best-matching video frame timestamp in milliseconds; zero for images."New value: +"Best-matching sampled video-frame timestamp in milliseconds for semantic video results; null for images and metadata-only results."
    • removedOutput schema / properties / results / items / properties / segment_start_ms / type
      Removed value: -"number"
    • addedOutput schema / properties / search_backend
      Added value: +{
      +  "enum": [
      +    "local",
      +    "remote",
      +    "local_and_onedrive"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "results",
      -  "requested_filters",
      -  "coverage_warning"
      -]New value: +[
      +  "results",
      +  "requested_filters",
      +  "coverage_warning",
      +  "search_backend"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover readOnly/idempotent, but the description adds substantial behavior the schema does not: AND semantics across filter fields, the credit cost model (hosted visual/similarity searches consume search credits, metadata-only does not), the search_credits_exhausted failure mode, and the segment_start_ms best-frame contract for video results. These are exactly the operational traits an agent needs before invoking.

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?

Purpose is front-loaded and each subsequent sentence carries distinct information (AND semantics, UTC day boundaries, visual_query behavior, credits, result shape). The UTC calendar-day sentence partially restates what captured_from/captured_to already say in the schema, a minor redundancy in an otherwise dense, well-ordered block.

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?

For a 23-parameter tool with an output schema and annotations, this description covers the cross-cutting concerns the structured fields cannot: filter combination logic, date boundary behavior, credit/error economics, and what results do and do not contain (ownership and paths, not bytes). Nothing material is missing for correct invocation.

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 100%, so the baseline is 3, and the description clears that bar by explaining cross-field semantics ("separate fields combined with AND semantics") that no individual schema property can convey. It also reinforces that visual_query must exclude people/dates/sources, though much of the UTC-day wording duplicates the captured_from/captured_to schema text.

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?

States a specific verb and resource ("Search the synced OwAI library") and immediately clarifies the shape of the search: separate AND-combined fields plus an optional visual_query. It does not name or distinguish itself from siblings like locate_media, inspect_duplicates, or read_media, so it falls short of a 5.

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?

Usage is implied rather than stated: visual_query is marked optional, metadata-only search is contrasted with hosted visual/similarity search on cost, and filters are described as separate AND fields. There is no explicit "use this when X, use sibling Y when Z" routing, so an agent must infer when this tool beats locate_media or inspect_duplicates.

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.

Resources