Skip to main content
Glama

Validate Pbip

validate_pbip

Validates .pbip project structure by checking required files, JSON, table and relationship references, and duplicate lineage tags; empty issues confirm a valid project.

Instructions

Structural validation of a project (required files, JSON, table refs, relationship columns, duplicate lineage tags). Empty issues = valid.

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": {
      "pbip_path": "<pbip_path>"
    },
    "name": "validate_pbip"
  }
}

Input Schema

NameRequiredDescriptionDefault
pbip_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 full burden; it does disclose the exact set of checks performed and defines the validity signal ('Empty issues = valid'). However, it never states that the operation is read-only/non-mutating, whether it covers the entire project directory or a single file, or any cost/scale characteristics.

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

Conciseness5/5

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

One sentence with a front-loaded purpose and a compact parenthetical enumerating the checks, followed by a short validity rule. Every clause earns its place, with no filler or repeated information.

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?

The tool is simple (one parameter) and an output schema exists, so return structure need not be explained; the description adequately covers scope of validation and the meaning of an empty result. The remaining gap is the unresolved path format and the absence of an explicit read-only assurance.

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% for the single required parameter, and the description never mentions pbip_path at all. It does not resolve the key ambiguity of whether the path points to the .pbip file or the containing project folder, so the schema gap is not compensated.

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 ('Structural validation') on a specific resource ('a project') and enumerates what is checked: required files, JSON, table refs, relationship columns, duplicate lineage tags. That makes it distinguishable from every add_/create_/get_/list_ sibling at a glance, though it never explicitly names an alternative.

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 explicit when-to-use guidance — nothing says whether to run this before or after mutating tools like add_relationship or add_measure, and no exclusions or alternative validators are mentioned. 'Empty issues = valid' hints at how to read the result but not when to call it.

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