Skip to main content
Glama

set_compliance_check

Report the result of auditing the project against Apple's three most common rejection reasons. Check ids: "sign_in_with_apple" (any third-party/social login for the main account without an equally prominent Sign in with Apple), "login_in_app" (account creation or sign-in handed off to an external browser or a bare webview instead of a native screen or ASWebAuthenticationSession), "account_deletion" (a signed-in user can delete their account from inside the app, with real backend deletion). Each status is "pass", "fail" or "exempt". Read the actual code — do not guess.

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": {
      "appId": "<appId>",
      "checks": "<checks>"
    },
    "name": "set_compliance_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
checksYesOne entry per check. Send all three in a single call where you can.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/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 disclose meaningful behavior: the closed set of check ids, the allowed status values, and that exempt requires a stated reason. It is silent on whether re-calling overwrites prior results, whether the app must already exist, and what the call returns on partial failure, which are material gaps for a write tool.

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?

Front-loaded with the one-sentence purpose, then the per-check definitions in a compact enumerated form, closing with the 'read the actual code' directive. The per-check parentheticals are long but each carries substantive audit criteria rather than filler.

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 two-parameter mutation tool with no annotations and no output schema, the description supplies the audit criteria, status vocabulary, evidence expectation, and batching guidance. The remaining gap is return/persistence behavior, which an agent would want before calling.

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 coverage is only 50% (appId is undocumented in the schema), and the description compensates well by defining what each check id actually means and how status/exemption interact, which is real semantic value beyond the schema's bare id list. The appId parameter is left to inference.

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 (report/record the result of an audit) and a specific resource (compliance checks against Apple's three most common rejection reasons), then enumerates the exact check ids. An agent can distinguish this from the read-side sibling get_compliance_check purely on the write-vs-report framing without opening the schema.

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?

Gives concrete execution guidance: audit the real project, do not guess, and send all three checks in a single call. It does not explicitly name get_compliance_check as the alternative for reading prior results or state prerequisites (e.g., app must exist), so it stops short of full when/when-not routing.

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