Skip to main content
Glama

Check governance policy

springroll.policy.check
Read-onlyIdempotent

Reports which governance policies an application would pass or fail for an environment.

Send manifest (YAML or JSON) to validate a document without creating anything. Call this before springroll.deploy to avoid a rejected submission. Read the springroll://manifest/example resource for the document's shape.

Send application instead to explain why an existing application cannot deploy or promote to environmentType, with specific remediation for each failing rule. Call this when a deployment is rejected with POLICY_BLOCKED.

Send exactly one of the two.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
manifestNoThe manifest document, as YAML or JSON. Mutually exclusive with `application`.
releaseIdNoRelease to evaluate. Only meaningful with `application`.
applicationNoAn existing application to explain. Mutually exclusive with `manifest`.
environmentTypeNoEnvironment to evaluate against. Defaults to production.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds value by stating 'without creating anything,' explaining that application mode provides 'specific remediation for each failing rule,' and pointing to an example resource—behavioral context beyond the annotations.

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?

The description is well organized and front-loaded with the core purpose. Each paragraph covers one mode with a clear trigger, and the closing 'Send exactly one of the two' eliminates ambiguity. There is no filler or redundant restatement of the title.

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?

Given the tool's two-mode complexity and lack of an output schema, the description covers the essential decision-making context: when to call, what to send, how to avoid blocked deployments, and where to find the manifest shape. A small gap is that it does not describe the report structure, but the schema already documents parameters and defaults.

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 100%, so the baseline is 3. The description adds extra semantic value by grouping manifest/application as mutually exclusive modes, clarifying when releaseId is relevant (with application), and referencing the springroll://manifest/example resource for document shape, which is not in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Reports which governance policies an application would pass or fail for an environment.' It also clearly separates the two invocation modes (manifest validation vs. application explanation), making its purpose unambiguous and distinguishable from siblings like springroll.deploy or springroll.deploy.promote.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance for both modes: use manifest before springroll.deploy to avoid rejected submissions, and use application when a deployment is rejected with POLICY_BLOCKED. It also states 'Send exactly one of the two,' preventing ambiguous calls.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: app metadata, approvals, connect grants, deployments, placement, and policy are cleanly separated by namespace and verb. Even close pairs like placement.preview vs deploy or approval.submit vs deploy.promote are explicitly differentiated in their descriptions.

Naming Consistency4/5

Most tools follow a clear springroll.<area>.<verb> pattern (app.get, approval.submit, deploy.promote, policy.check). The pattern is weakened by a few noun-style or verb-only exceptions: springroll.context, springroll.deploy, and connect.data_products do not fit the same verb shape.

Tool Count5/5

Fifteen tools is at the upper bound of a well-scoped set, and each tool covers a distinct, justified part of the deployment and governance lifecycle. The count is appropriate for a platform that spans apps, approvals, data access, deployment, placement, and policy.

Completeness4/5

Core workflows are well covered: deploy, promote, poll status, preview placement, check policy, request/check data access, and submit/get approvals. Minor gaps exist around executing rollbacks or retirements after approval and listing/cancelling deployments, but these do not break the main agent workflows.

Resources