Skip to main content
Glama
Phygital-Key

phygital-key-mcp

Official

request_standing_approval

Ask a person once to permit repeated actions within fixed limits and duration, so each use can be authorized by a signed reusable approval.

Instructions

Ask a person once to allow the same kind of action within fixed limits, up to max_uses times, for up to days days. Then call get_approval, and use_standing_approval for each action. For one action, use request_approval. Use sparingly: the person sees every limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audYesWho will act on each use.
daysYesHow many days it lasts (1 to 30).
varyYesParams that may change, with limits: integers {"amount_cents": {"min": 1, "max": 2000}} (both required) or strings {"memo": {"one_of": ["coffee", "lunch"]}}.
fixedYesParams that must be exactly these values every time, e.g. {"to": "ACME Ltd", "currency": "EUR"}.
for_typeYesThe action type each use will have, e.g. "payment".
max_usesYesHow many times it may be used (1 to 1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered and the description does not contradict it. It adds behavior beyond the annotations by disclosing the multi-step lifecycle (get_approval then use_standing_approval) and the human-visibility trait ('the person sees every limit'). It stops short of saying what gets returned or what happens on denial.

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, each earning its place: what it is, how it sequences with siblings, and when to hold back. The scope constraint (once, fixed limits, max_uses, days) is front-loaded.

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?

There is no output schema, and the description compensates by telling the agent the follow-up call (get_approval) needed to retrieve the result, which is the critical missing piece for a nested-parameter mutation tool. It does not describe the failure/denial path or how the approval is identified, so it is not fully complete.

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?

Schema coverage is 100%, so the schema already explains aud, days, max_uses and the fixed/vary objects in detail; that sets the baseline at 3. The prose reinforces max_uses and days and frames the fixed-limits concept, but adds no syntax, format, or constraint detail beyond the schema.

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?

States a specific verb+resource ('Ask a person once to allow the same kind of action') and immediately bounds it by count (max_uses) and duration (days), which is exactly what distinguishes a standing approval from a one-shot one. It also names the sibling that does the other thing ('For one action, use request_approval'), so the agent can separate it from the siblings without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes: use this for repeated actions, request_approval for a single action, and it spells out the downstream workflow ('Then call get_approval, and use_standing_approval for each action'). The 'Use sparingly' caution names a condition (the person sees every limit) that governs when not to use it.

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