get-policy
Fetch a workflow policy file by name (e.g. run-qa.policy.md) from the platform POLICY_FILE store. Filename is coerced to *.policy.md (same as upsert-policy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyFileName | Yes |
Fetch a workflow policy file by name (e.g. run-qa.policy.md) from the platform POLICY_FILE store. Filename is coerced to *.policy.md (same as upsert-policy).
| Name | Required | Description | Default |
|---|---|---|---|
| policyFileName | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations the description carries the full burden, and it does disclose one genuinely useful trait beyond the schema: the filename is coerced to *.policy.md, matching upsert-policy. It omits what a fetch returns, error behavior when the file is absent, and any auth/permission context, so the behavioral picture is incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences, front-loaded with the action and resource, with no filler. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter read tool with no annotations and no output schema, the input semantics are adequately covered. However, it says nothing about the return value (file contents) or failure mode for a missing policy, leaving meaningful gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and the single property has no description, so the description must compensate. It does so well by explaining that policyFileName is coerced to *.policy.md and giving a concrete example, adding real semantics beyond the bare string type.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb (Fetch) plus resource (workflow policy file) plus store (POLICY_FILE) and a concrete example filename. The purpose is unambiguous, but sibling differentiation (e.g. vs list-policies) is only implicit rather than stated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: fetch when you know the policy file name. The reference to upsert-policy concerns the filename-coercion behavior, not when to choose this tool over list-policies or another sibling, so no explicit when-to-use routing is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.