Get environments in Zephyr **Parameters:** - projectKey (string): Jira project key filter - maxResults (number): Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000. Note that the server may enforce a l...
Single-target operation
Part of the SmartBear MCP MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents call zephyr_get_environments to retrieve information from SmartBear MCP without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though zephyr_get_environments only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
tools:
zephyr_get_environments:
rules:
- action: allow See the full SmartBear MCP policy for all 147 tools.
Get environments in Zephyr **Parameters:** - projectKey (string): Jira project key filter - maxResults (number): Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned. (default: 10) - startAt (number): Zero-indexed starting position. Should be a multiple of maxResults. (default: 0) **Examples:** 1. Get the first 20 Environments ```json { "maxResults": 20, "startAt": 0 } ``` Expected Output: The first 20 Environments with their details from different projects 2. Get the first 10 Environments from the project with projectKey TEST ```json { "projectKey": "TEST", "maxResults": 10, "startAt": 0 } ``` Expected Output: The first 10 Environments with their details from project with projectKey TEST 3. Get second 10 Environments from the project with projectKey TEST ```json { "projectKey": "TEST", "maxResults": 10, "startAt": 10 } ``` Expected Output: The second 10 Environments with their details from project with projectKey TEST 4. Get Environments starting from the 5th Environment from different projects ```json { "startAt": 5, "maxResults": 10 } ``` Expected Output: Environments starting from the 5th one with their details from different projects 5. Get 5 Environments starting from the 10th Environment from the project with projectKey PROJ ```json { "startAt": 10, "maxResults": 5, "projectKey": "PROJ" } ``` Expected Output: The five environments starting from the 10th Environment from the project PROJ with their details. It is categorised as a Read tool in the SmartBear MCP MCP Server, which means it retrieves data without modifying state.
Add a rule in your Intercept YAML policy under the tools section for zephyr_get_environments. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the SmartBear MCP MCP server.
zephyr_get_environments is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the zephyr_get_environments rule in your Intercept policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the Intercept policy for zephyr_get_environments. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
zephyr_get_environments is provided by the SmartBear MCP MCP server (@smartbear/mcp). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept