Skip to main content
Glama

Phlece

An agent's limits

phlece_get_policy
Read-only

The policy for an agent wallet, what Phlece has prepared for it in the last 24 hours, and what is left under its daily cap.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "wallet": "<wallet>"
    },
    "name": "phlece_get_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYes

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=true and openWorldHint=false, so safety is covered without description help. The description does add genuine behavioral context beyond that — the 24-hour lookback window and the notion of a rolling daily cap — but says nothing about what happens if the wallet is not an agent, whether caps reset on a fixed schedule, or authentication requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded on the primary return value, with no filler. The middle clause ('what Phlece has prepared for it') is slightly indirect phrasing that takes a moment to parse but still earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 must convey the return shape, and it does list the three return components in outline. However, for a limits tool the agent also needs to know the units/format of the remaining cap and the response structure, which are absent; the essentials are adequate but thin.

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 0% for the single parameter, so the description carries the burden, and it does clarify that 'wallet' means an agent wallet rather than a user wallet — meaningful disambiguation. It still does not say whether the value is an address, an agent ID, or a name, which is the key unknown before invocation.

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 names the resource (an agent wallet's policy) and enumerates the three things returned: the policy itself, activity Phlece prepared in the last 24 hours, and remaining daily cap. It is distinguishable from phlece_set_policy (the mutating counterpart) and phlece_get_agent (agent metadata) by the policy framing, though it never uses an explicit retrieval verb.

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 statement of when to call this versus alternatives such as phlece_get_agent or phlece_set_policy, and no preconditions (e.g., the wallet must already be a registered agent). The read-only nature is only implied by the framing as a policy lookup.

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