Skip to main content
Glama

writ_me

Shows which tenant and API key identity the current configuration acts as, including plan, policy modes, and monthly receipt usage without exposing the raw key.

Instructions

Who the configured API key is acting as.

This is the Writ "who am I": returns who the configured API key belongs to (tenant id and name, key email and plan), the policy summary, and the monthly receipt usage (monthlyChecks). Never returns the raw key.

Returns the gate payload verbatim: tenant (id, name), key (email, plan), policy (per-verb modes), and monthlyChecks. Free tier is 10,000 receipts/month; checks return 402 payment_required once it is exhausted or billing is past due.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "writ_me"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.28

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses the exact fields returned, guarantees the raw key is never returned, and documents failure behavior (402 payment_required on exhaustion of the 10,000-receipt free tier or past-due billing). It never explicitly states that the call is side-effect-free/read-only, which is the one remaining behavioral gap.

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

Conciseness3/5

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

The purpose statement is front-loaded and useful, but the return fields are enumerated twice — first as prose ("tenant id and name, key email and plan, the policy summary, and the monthlyChecks") and again as "Returns the gate payload verbatim: tenant (id, name), key (email, plan), policy (per-verb modes), and monthlyChecks." Since an output schema already exists, one of these enumerations is dead weight.

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?

For a zero-argument identity call with an output schema, the description covers everything an agent needs: what identity is returned, what is deliberately withheld, and the quota/billing failure mode. The duplicated return-field listing is the only inefficiency; nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to add; the schema is empty and fully specified. Baseline for a no-parameter tool applies.

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?

"Who the configured API key is acting as" plus the Writ "who am I" framing states a specific identity resource and makes it obvious this is not writ_keys, writ_principals, or writ_policies. It does not explicitly name a sibling to contrast with, so it stops 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 Guidelines3/5

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

The self-describing "who am I" framing implies the use case (confirming which tenant/key you are operating as), but there is no explicit when-to-use or when-not guidance, and no mention of when an agent should call this versus writ_keys or writ_principals to inspect credentials.

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