Skip to main content
Glama

validate_perspective_view

Validate a Perspective view's structure, embedded view references, and bindings to surface issues and confirm validity.

Instructions

Validate structure, embedded view references and bindings of a view.

Args: view_path: View to validate. project: Project name; defaults to the active project.

Returns: Issues grouped by kind plus a validity flag.

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": {
      "view_path": "<view_path>"
    },
    "name": "validate_perspective_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
view_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?

With no annotations, the description carries the full burden. It discloses the return shape ('issues grouped by kind plus a validity flag'), which implies a non-destructive read, but never states that it is read-only, whether it requires an open project, or whether it can be run on unsaved views. The implicit read-only nature of a validator partially covers the gap.

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?

Front-loaded purpose sentence followed by clean Args/Returns sections; every line is short and useful. The Returns block is mildly redundant given an output schema exists, but it is only one line.

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 validator with an output schema, the description covers purpose, both parameters, the project default behavior, and the result shape. Missing prerequisites (open project, saved vs unsaved view) keep it short of full completeness, but nothing critical to invoking it is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does document both parameters. The note that project 'defaults to the active project' adds real meaning beyond the schema's default:null, but view_path gets only 'View to validate' with no path format or example, leaving a meaningful gap.

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 (validate) and a specific resource scope: view structure, embedded view references, and bindings. This distinguishes it reasonably from siblings like validate_view_scripts or validate_project, though it never explicitly contrasts itself with check_view_bindings, which sounds closely related.

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, and no alternative is named despite a crowded field of validation siblings (validate_view_scripts, check_view_bindings, validate_project). The agent must infer that this is a pre-deployment sanity check from the word 'validate' alone.

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