Skip to main content
Glama

grant_org_comp

Grant a billing comp/benefit to an org (platform-admin only). grant_type is one of comped_subscription | plan_override | free_seats | percent_off_coupon | governance. free_seats requires free_seat_count >= 1; percent_off_coupon requires percent_off in 1..100; comped_subscription is always 100% off; governance flips the Scale/Agency agent-governance entitlement (no extra fields). reason is required. Mirrors POST /v1/admin/orgs/{org_id}/grants.

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": {
      "org_id": "<org_id>",
      "grant_type": "<grant_type>",
      "reason": "<reason>"
    },
    "name": "grant_org_comp"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYes
reasonYes
metadataNo
expires_atNo
grant_typeYes
percent_offNo
free_seat_countNo
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses per-grant-type behavioral rules (free_seats needs free_seat_count >= 1, percent_off in 1..100, comped_subscription is always 100% off, governance flips an entitlement with no extra fields) and the required reason. It stops short of saying what happens on duplicate grants, whether an existing grant is superseded, or how failure modes surface.

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?

Front-loads the verb, resource, and privilege requirement, then packs the enum and per-type constraints into dense, non-redundant clauses. The closing API-parity note is short and adds a useful trace to POST /v1/admin/orgs/{org_id}/grants.

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?

Covers the decision-critical semantics for a moderately complex 8-parameter mutation, and the existence of an output schema means return values need not be described. Gaps remain around idempotency, expiration, and grant overlap, which matter for a billing-privileged tool.

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?

Schema description coverage is 0% and grant_type has no enum in the schema, so the description is doing essential work by supplying the five allowed values and the conditional requirements for free_seat_count and percent_off. It leaves expires_at, metadata, and idempotency_key, including how idempotency_key behaves, completely unexplained.

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?

Names a specific verb and resource ('Grant a billing comp/benefit to an org') and enumerates the grant_type domain, so the agent knows exactly what the tool does. It is also implicitly distinguishable from the sibling revoke_org_grant by the verb grant vs. revoke.

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?

States a clear precondition, '(platform-admin only)', which tells the agent who may call it and when it is applicable. It does not explicitly route to alternatives such as revoke_org_grant or list_org_grants, but the narrow purpose makes misuse unlikely.

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