Skip to main content
Glama

pg_detect_recipes

Inspects a local repository manifest read-only to detect suggested verify and quick_verify recipes for safe workflow checks.

Instructions

Safely inspect a local repository manifest (read-only) to detect suggested verify and quick_verify recipes.

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": {
      "repo_path": "<repo_path>"
    },
    "name": "pg_detect_recipes"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.7.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add real value by asserting the operation is 'read-only' and 'safe' and that it only detects rather than executes recipes. It omits what happens when no manifest is found, whether any files are written, and what the detection returns, so meaningful gaps remain.

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?

A single front-loaded sentence with no filler; 'Safely' and '(read-only)' are the only mildly redundant qualifiers. Everything else earns its place.

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 one-parameter, no-output-schema, read-only tool this is close to adequate: it conveys purpose, safety, and that recipes are the result. It still lacks any indication of the shape of the returned recipes or failure behavior, which matters because no output schema documents the return.

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% for the single parameter, so the description needed to clarify it. It only says 'local repository manifest', leaving ambiguous whether repo_path is the repository root or the path to the manifest file itself — a distinction that directly affects correct invocation.

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 names a specific verb ('inspect', 'detect') and resource ('local repository manifest') and states the output concept ('suggested verify and quick_verify recipes'), which an agent can distinguish from the execution-oriented pg_verify sibling. It does not explicitly contrast itself with that sibling, so it falls short of the top score.

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 only implied: the word 'suggested' hints that this is a discovery step that precedes running verification, but the description never states when to call this versus pg_verify, pg_test_target, or pg_diagnose, nor any precondition or exclusion. An agent must infer the place in the workflow.

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