Skip to main content
Glama

SpringRoll

Submit an approval request

springroll.approval.submit
Idempotent

Submits an approval request of any supported type: UAT_PROMOTION, UAT_SIGN_OFF, PRODUCTION_PROMOTION, VISIBILITY_CHANGE, OWNERSHIP_TRANSFER, RETIREMENT, DOMAIN_CHANGE, or ROLLBACK. An agent may submit but never decide: SpringRoll requires a human approver, and an agent token cannot approve its own request.

Confirm with the user before calling this. It creates review work for named people.

Type-specific behaviour: • PRODUCTION_PROMOTION: this does NOT deploy. It asks. releaseId defaults to the application's latest release, and targetEnvironmentType to 'production'. Once approved, call springroll.deploy.promote. • UAT_PROMOTION: targetEnvironmentType is required, 'uat' (or 'development' where Development needs approval). An approval only unlocks the environment it names. • UAT_SIGN_OFF: targetEnvironmentType defaults to 'uat'. • ROLLBACK: justification and targetEnvironmentType (the environment to roll back) are required. Put the deployment to restore in payload.targetDeploymentId; it defaults to the last successful one. • RETIREMENT: justification is required. • Every other type takes no targetEnvironmentType.

Input 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."
payloadNoType-specific detail, e.g. { visibility: 'TENANT' }, { newOwnerMembershipId: '…' }, or { targetDeploymentId: '…' } for a rollback.
releaseIdNoRelease this concerns. For PRODUCTION_PROMOTION, defaults to the latest release.
applicationYesApplication slug or id.
requestTypeYes
justificationNoWhy this should happen. Shown to reviewers. Required for ROLLBACK and RETIREMENT, and at least 10 characters when required.
idempotencyKeyYesRequired. A stable, caller-generated key. Retrying with the same key returns the original result instead of creating a duplicate.
targetEnvironmentTypeNoCanonical environment class. SpringRoll promotes development -> uat -> production.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Goes well beyond the annotations: 'An agent may submit but never decide', a human approver is required, an agent cannot approve its own request, and it creates review work for named people. It also clarifies that PRODUCTION_PROMOTION does not deploy, which is exactly the kind of side-effect transparency that prevents misuse of a mutation tool.

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?

Front-loads the core constraint (submit but never decide) and the confirm-with-user warning, then organizes type-specific behavior into scannable bullets. Length is justified by eight request types and eight parameters; every sentence carries actionable content.

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

Completeness5/5

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

For a mutation tool with no output schema and a nested payload object, the description covers the missing pieces: what the call produces (review work, not a deployment), the human-approval gate, and the follow-up call to springroll.deploy.promote. Nothing an agent needs to call it correctly is absent.

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

Parameters5/5

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

Despite 88% schema coverage, the description adds conditional, cross-parameter semantics the schema cannot express: defaults for releaseId and targetEnvironmentType, which types require justification, that UAT_PROMOTION requires targetEnvironmentType, and that the ROLLBACK deployment goes in payload.targetDeploymentId defaulting to the last successful one.

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?

States a specific verb and resource ('Submits an approval request') and enumerates all eight supported request types, so the agent knows exactly what it creates. It is clearly distinguishable from siblings like springroll.approval.get and 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?

Explicitly states when to use it versus the alternative ('this does NOT deploy... Once approved, call springroll.deploy.promote'), and gives a hard usage constraint plus a prerequisite ('Confirm with the user before calling this'). Decision rules are spelled out per request type rather than left to inference.

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.

Resources