Skip to main content
Glama

set_native_capabilities

Set which native capabilities the app needs, based on what the project code actually uses. Only pass capabilities the code genuinely uses — extra ones slow store review and can cause rejections. Call list_capabilities first if unsure.

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>",
      "capabilities": "<capabilities>"
    },
    "name": "set_native_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
capabilitiesYesCapability ids the app uses. Pass an empty array for a plain web wrapper.
justificationsNoOptional map of capability id → one-line reason. Required by store review for restricted capabilities.

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?

No annotations are supplied, so the description must disclose behavior itself, and it does add real value by warning that extra capabilities slow store review and can cause rejections. However, it never says whether the call replaces the full capability set or merges with existing settings, and it says nothing about permissions, reversibility, or the error behavior of an invalid capability id. For a mutation tool with no annotations, that is a meaningful gap.

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, the main action first, then the cost constraint, then the prerequisite alternative. Nothing is redundant, and every sentence gives the agent information it can act on.

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?

For a mutation with no annotations and no output schema, the description should explain the effect on existing state and the confirmation or result. It covers the risk of extra capabilities well, but the overwrite-versus-merge behavior and the requirement for justifications on restricted capabilities, which only appear in the schema, leave the agent without a full picture.

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?

The description conveys that capabilities come from actual code usage, which shapes what to put in the capabilities array, and the schema documents the array and its justification map. With 67% schema description coverage, the baseline of 3 applies: appId and the justification-map structure are left entirely to the schema, and the description adds no extra detail about their format or meaning.

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?

The description states a specific verb and resource ("Set which native capabilities the app needs") and adds scope ("based on what the project code actually uses"). That phrasing lets an agent separate it from the read-only sibling list_capabilities without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It says when to use this tool (when you have determined which native features the code uses), when to be cautious ("Only pass capabilities the code genuinely uses"), and names the fallback alternative ("Call list_capabilities first if unsure"). The guidance includes the reason extra capabilities are harmful, which an agent can use when deciding.

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