Skip to main content
Glama

winrm_policy

Read-only

Displays the WinRM server version and security policy, including allowed hosts, ad-hoc connection rules, password environment variable access, and file transfer status.

Instructions

Show the server version and the operator's security policy: allowed hosts, whether ad-hoc connections are allowed, which environment variables password_env may read, and whether file transfer is enabled.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint=true and openWorldHint=false annotations already establish this is a local, side-effect-free read, and the description is consistent with that. It adds genuine value beyond the annotations by naming the specific policy dimensions exposed (ad-hoc connections, password_env variable scope, file transfer gate), which signals to the agent that this is a capability/permission probe rather than a status ping. It stops short of saying whether the policy is static or reflects live server state.

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?

A single sentence, front-loaded with the primary object ('server version and security policy') followed by a tightly scoped enumeration of the returned facets. No filler, no restatement of the tool name, and every clause carries information.

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?

For a zero-parameter read-only tool with an output schema, the description supplies enough to know what it reports and roughly why it matters. The only residual gap is context about scope (whose server / which configured host this policy applies to), which matters given the large family of host-scoped siblings.

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?

With zero parameters and 100% schema coverage there is nothing for the description to disambiguate, so the baseline of 4 applies. The mention of 'password_env' usefully ties the tool to a configuration concept the agent will see elsewhere, without implying any input is required.

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 names a specific verb ('Show') and a concrete resource ('the server version and the operator's security policy'), then enumerates the policy facets returned: allowed hosts, ad-hoc connections, password_env-readable variables, and file transfer enablement. This clearly separates it from the action-oriented siblings (winrm_execute_*, winrm_host_save, winrm_test) which mutate or probe state rather than report configuration.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool to call to discover what the server will permit before attempting a connection or transfer. However, the description never states when to prefer it, gives no preconditions (e.g. whether a host must be configured first), and does not explicitly contrast it with winrm_test or winrm_inventory_status.

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