Skip to main content
Glama

project.search.programs

Search project program files by name or path to locate binaries, filter by content type, and paginate results using limit and offset.

Instructions

Search program files in the project by name or path.

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": {
      "session_id": "<session_id>"
    },
    "name": "project.search.programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
session_idYes
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and falls well short: it does not disclose matching semantics (substring vs. glob vs. regex, case sensitivity), default and maximum values for limit/offset, whether results are paginated or ordered, or what permission scope is needed. For a read-only search that is presumably safe, the missing pagination and matching behavior are the most consequential gaps for correct invocation.

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?

The single sentence is front-loaded and free of filler, which is good, but at this length it is under-specified rather than concise — the brevity is achieved by omitting information the agent needs, not by trimming waste.

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

Completeness2/5

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

A five-parameter tool with zero schema description coverage, no annotations, and no output schema needs a substantially richer description to be usable without trial and error. Nothing tells the agent how paging works, what content_type accepts, or what a result entry looks like.

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 description coverage is 0% across five parameters, and the description only implicitly addresses query ('by name or path'). session_id, limit, offset, and content_type receive no explanation of format, defaults, or accepted values anywhere, so the agent must guess at the most error-prone fields (content_type especially, which has no 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?

States a specific verb (search) and a specific resource (program files in the project) plus the matching dimension (name or path), so an agent can identify the operation. It does not, however, distinguish itself from near-neighbors such as project.files.list or search.text, leaving the agent to infer the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of alternatives among the many search.* and project.* siblings, and no stated preconditions beyond the implicit need for a session. The 'by name or path' phrase hints at matching semantics but gives no instruction about when this is preferable to a general text or bytes search.

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

Deploy Server

Other Tools