Skip to main content
Glama
guardentryai

GuardEntry MCP Server

Official
by guardentryai

guardentry_get_agent_policy

Retrieve the effective compliance policy for an agent, returning the auto-generated default if no explicit policy exists.

Instructions

Retrieve the effective policy for an agent. If no explicit policy exists, returns the inferred default policy that was auto-generated for this agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter policies by status
agent_idNoUUID of the agent
agent_typeNoAgent type to look up (used if agent_id not provided)
Behavior4/5

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

Without annotations, the description carries full transparency burden. It discloses the important behavior that a default policy is returned when no explicit policy exists, adding value beyond the tool's name. It does not detail error cases, but 'retrieve' implies non-mutating behavior.

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?

The description is two sentences with no unnecessary words. The primary action is front-loaded, and the additional sentence explains a key edge case, making it both concise and informative.

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?

Given the simple nature of the tool and full schema coverage, the description adequately explains the core purpose and behavior. It does not explicitly state that at least one of agent_id or agent_type is needed, but that is implied by the schema descriptions and acceptable for a low-complexity retrieval tool.

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?

The input schema covers all three parameters with descriptive text, achieving 100% coverage. The description does not add extra meaning beyond the schema, so baseline 3 is appropriate.

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 clearly states 'Retrieve the effective policy for an agent' with a specific verb and resource, and it explains the behavior when no explicit policy exists. This distinguishes the tool from sibling tools like update_policy and confirm_policy by focusing on retrieval.

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?

The description provides clear context: use this tool to get an agent's effective policy, including inferred defaults. It does not explicitly name alternatives or exclusions, but the purpose is distinct enough to imply appropriate usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guardentryai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server