Skip to main content
Glama

search_by_image

Find Tekton tasks that use a given container image, optionally filtered by development, staging, or production environment, to trace image dependencies and troubleshoot pipelines.

Instructions

Find tasks using a specific container image.

Args: image: Image name or fragment. env: Catalog environment: 'development', 'staging', or 'production'. Empty for latest.

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": {
      "image": "<image>"
    },
    "name": "search_by_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
imageYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. It implies a non-destructive lookup ('Find') and hints at partial matching via 'Image name or fragment', but says nothing about match semantics, case sensitivity, result limits, or pagination; return values are covered by the output schema.

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?

The purpose sentence is front-loaded and the Args block is terse, with every line adding information. The docstring formatting is slightly mechanical but costs no clarity.

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?

For a two-parameter read-only lookup with an output schema, the definition covers purpose, both parameters, and the env enumeration. The only real omission is match semantics for the image fragment, which is a minor gap at this complexity level.

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%, so the description must compensate, and it largely does: 'image' is described as a name or fragment (implying substring matching), and 'env' is given the three valid values plus the meaning of the empty default ('latest'), which the schema itself does not encode as an enum.

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 gives a specific verb and resource ('Find tasks') plus the distinguishing qualifier 'using a specific container image', which makes the query axis unambiguous. It does not, however, contrast itself with nearby tools like search or grep, so an agent must infer the split.

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 usage is implied by the query shape (locate tasks that reference a given image, e.g. before deprecating or bumping a tag), but there is no explicit when-to-use statement, no exclusions, and no named alternative among search/grep/list_tasks.

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