Skip to main content
Glama

servicestage__ChangeResourceInEnvironment

Modify resources in a ServiceStage environment by specifying the project ID and environment ID.

Instructions

[SERVICESTAGE] 此API用来修改环境资源。

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": {
      "environment_id": "<environment_id>",
      "project_id": "<project_id>"
    },
    "name": "servicestage__ChangeResourceInEnvironment"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户项目ID。
environment_idYes环境id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. '修改' at least signals a mutation, but it says nothing about what is changed, whether the operation is reversible, what permissions are required, or what happens to resources not specified.

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?

A single short sentence with no wasted wording and the '[SERVICESTAGE]' tag prefixed. It is efficient, though efficiency here reflects under-specification more than disciplined editing.

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

Completeness2/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 annotations, no output schema, and an unclear resource target, the description is far too thin. An agent cannot determine what the call will actually alter or how to verify success.

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 description coverage is 100%, so both parameters (project_id, environment_id) are already documented in the schema and the baseline is 3. However, the description never explains how the 'resource' being modified is identified when the schema exposes only environment and project identifiers, leaving a real semantic gap.

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

Purpose3/5

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

The description states a verb and resource ('修改环境资源' / modify environment resources), but '资源' is left unspecified and it does not differentiate itself from the near-identical sibling ModifyResourceInEnvironment. An agent reading both cannot tell which one to call.

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 guidance, no prerequisites, and no mention of the obvious alternative ModifyResourceInEnvironment or ChangeEnvironment. The agent must infer selection from the name 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