Skip to main content
Glama

Check feature access

pmitz_verify_entitlement
Read-onlyIdempotent

Checks whether a subject may use a feature. Returns featureAllowed and, on denial, the cause (INVALID_SUBSCRIPTION, PRODUCT_NOT_ALLOWED or FEATURE_NOT_ALLOWED). Acts on one Pmitz sandbox.

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": {
      "sandbox": "<sandbox>",
      "groupId": "<groupId>",
      "productId": "<productId>",
      "featureId": "<featureId>"
    },
    "name": "pmitz_verify_entitlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYesIdentifier of the subscription, user or directory group.
sandboxYesThe sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_….
featureIdYesFeature ID inside that product.
groupTypeNoKind of subject. Use "subscriptions" when access depends on a plan.
productIdYesProduct ID from the catalog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine value by naming the return field featureAllowed and the three denial causes (INVALID_SUBSCRIPTION, PRODUCT_NOT_ALLOWED, FEATURE_NOT_ALLOWED), which is behavioral detail annotations cannot express. It does not say whether a denial is cached, whether groupType omission changes evaluation, or what happens with an unknown sandbox key.

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, front-loaded with the core verb, then return shape, then scope. Every clause carries information an agent needs; no filler or restatement of the title.

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 compensates by enumerating the return field and denial causes, which is the critical gap to close. Parameters are fully documented in the schema. Minor remaining gap: the optional groupType and its default behavior when omitted are not addressed, and the description does not say what a denial means operationally beyond the cause code.

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 description coverage is 100%, including an enum with its own hint ('Use "subscriptions" when access depends on a plan'), so the schema already carries parameter meaning. The description's only contribution is the sandbox scoping note, which the schema also states. Baseline 3 applies; nothing new is added beyond the structured fields.

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?

States a specific verb and resource: 'Checks whether a subject may use a feature', and adds the scope 'Acts on one Pmitz sandbox'. An agent can tell this is a per-subject entitlement decision rather than a limits/usage query. It stops short of naming the closely related siblings (pmitz_check_limits, pmitz_get_remaining_limits), so the boundary between entitlement and quota is left implicit.

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?

Usage is only implied: you call it when you need to know whether a subject may use a feature, and the denial-cause list hints at the diagnostic follow-up. There is no explicit when-not guidance and no routing to alternatives such as the limits tools for quota questions, which is the main ambiguity for this sibling cluster.

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.