Skip to main content
Glama

Change the code-sync policy

fillo_set_code_sync_policy
Destructive

Switch who may stage code-defined drafts. Changes who can act, so ask-policy connections receive a human approval link.

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": {
      "policy": "<policy>"
    },
    "name": "fillo_set_code_sync_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "policy": {
      +        "enum": [
      +          "publishable_key",
      +          "trusted_only"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "policy"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalId": {
      +        "type": "string"
      +      },
      +      "reviewUrl": {
      +        "type": "string"
      +      },
      +      "settingsUrl": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "awaiting_owner_approval"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "approvalId",
      +      "settingsUrl",
      +      "reviewUrl"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "policy": {
      -    "enum": [
      -      "publishable_key",
      -      "trusted_only"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "policy"
      -]
  2. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true, so safety is largely covered. The description genuinely adds beyond them by disclosing a downstream consequence: ask-policy connections trigger a human approval link when the policy changes. It does not say whether the change is reversible or what permissions are required.

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?

Two short sentences with the effect front-loaded and no filler. There is mild redundancy between 'who may stage' and 'who can act', and the approval-link clause is slightly compressed into an awkward 'so ... receive' construction.

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?

An output schema exists, so return values need not be explained, and the tool is a single-parameter toggle. Still, for a destructive setting change the description should clarify the two policy values and what widening or narrowing access means, which is entirely absent.

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

Parameters2/5

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

Schema description coverage is 0% and the single required parameter is an enum ('publishable_key' vs 'trusted_only') whose values are never explained. The description only vaguely gestures at 'who may stage code-defined drafts' and does not map either enum value to its meaning, so it fails to compensate for the coverage gap.

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 concrete effect: 'Switch who may stage code-defined drafts', which names the governed resource (code-defined drafts / code-sync policy) and the operation (switch). It is distinguishable from the getter sibling by the verb, though the phrase 'stage code-defined drafts' is jargon-heavy and the policy itself is never named as in the title.

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

Usage Guidelines2/5

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

No statement of when to call this rather than fillo_get_code_sync_policy to inspect the setting first, nor any prerequisite or exclusion. The mention of ask-policy connections receiving an approval link is a side effect, not usage guidance.

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.