Skip to main content
Glama

Get the approval state of a post

get_approval
Read-onlyIdempotent

The latest approval request for a post: decision (PENDING, APPROVED, CHANGES_REQUESTED, REJECTED), the reviewer, when it was opened and decided, and the reviewer's comment.

Input Schema

NameRequiredDescriptionDefault
post_idYes
workspace_idYesWorkspace id from list_workspaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety is covered. The description adds one genuine behavioral fact beyond that: only the LATEST approval is returned, not the full history. It does not say what happens when no approval request exists (empty vs error), which is a real ambiguity for the caller.

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 that front-loads the scope ('latest approval request for a post') and then enumerates the returned fields, including the full decision enum. Nothing is redundant and nothing is padding.

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?

With no output schema, the description correctly shouldered the return-value burden and does so by listing decision values, reviewer, timestamps and comment. The only material omission is behavior when no approval request exists, plus no hint about post_id sourcing.

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 coverage is 50%: workspace_id is documented ('from list_workspaces') but post_id has no description at all. The description mentions 'a post' but adds no format, source, or constraint detail for either parameter, so it does not compensate for the gap as low-coverage schemas require.

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?

The description identifies a specific resource ('the latest approval request for a post') and enumerates exactly what state it exposes (decision, reviewer, timestamps, comment), which lets an agent tell it apart from request_approval or get_post. It lacks an explicit verb and never names the sibling it differs from, keeping it just short of a 5.

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 guidance on when to call this versus request_approval, get_post, or validate_post, and no prerequisites stated. The agent must infer usage from the name and field list alone.

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.

Resources