Skip to main content
Glama

validate_world_code_workspace

Read-onlyIdempotent

Run the same schema, source, sandbox and controller checks used by saving on this staged revision. Correct diagnostics with focused patches. Visual and behavioral verification is separate.

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": {
      "workspaceId": "<workspaceId>",
      "codeWorkspaceId": "<codeWorkspaceId>"
    },
    "name": "validate_world_code_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdYes
codeWorkspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / codeWorkspaceId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / codeWorkspaceId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / codeWorkspaceId / type
      Added value: +"string"
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is fully covered. The description adds real value beyond that: it discloses that the checks mirror the save path, that it returns diagnostics, and that it does not self-remediate. It says nothing about what a diagnostics payload looks like or whether a failure blocks saving, and with no output schema that gap matters.

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?

Three short sentences, front-loaded with the action and the scope, followed by the remediation hint and the boundary statement. Every sentence carries distinct information and none repeats the annotations or the schema.

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

Completeness3/5

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

For a two-identifier validation tool with no output schema, the description covers purpose, the save-equivalence, and the scope boundary, which is a solid frame. It leaves the two parameters entirely unexplained and gives no sense of what diagnostics contain or how many checks run, so an agent knows when to call it but not how to interpret the result.

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

Parameters2/5

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

Schema description coverage is 0% – both required identifiers (workspaceId, codeWorkspaceId) carry only a regex pattern and no explanation. The description adds no meaning at all here: it never clarifies why two IDs are needed or how the workspace and the code workspace relate. With low coverage the description was expected to compensate, and it does not.

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?

States a specific verb and scope: it runs schema, source, sandbox and controller checks on a staged revision, and explicitly frames them as 'the same checks used by saving', which separates it from save_world_code_workspace. It never names a sibling outright, so the agent must infer the validate-vs-save distinction from the phrasing rather than from an explicit comparison.

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

Usage Guidelines4/5

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

Implies the usage context (a staged revision, ahead of saving) and gives a remediation path ('Correct diagnostics with focused patches'), which points an agent toward the patch tool after a failure. It also carves out a clear exclusion ('Visual and behavioral verification is separate'), telling the agent this tool will not cover experience-level checks. It stops short of naming the specific alternative tools or stating prerequisites.

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.