Skip to main content
Glama

list_field_permissions

Read-only

The field-level rules of this tenant, plus — and this matters — exactly WHERE they take effect today and where they do not yet. A rule someone believes applies everywhere while it only holds at one surface is worse than no rule: it creates trust that is not backed. Optional: role (only that role's rules), plus 'for_resource' to see the effective hidden field list a given role would get on a given resource.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_field_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOnly the rules of this role
for_resourceNoShow the effective hidden fields the role gets on this resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / for_resource / description
      Added value: +"Show the effective hidden fields the role gets on this resource"
    • addedInput schema / properties / role / description
      Added value: +"Only the rules of this role"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing that the result includes where each rule takes effect and where it does not — non-obvious return semantics absent from an output schema. However, the surrounding rationale ('a rule someone believes applies everywhere...') is rhetorical framing rather than further behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and optional filters are front-loaded, but the middle clause ('plus — and this matters —') and the aphorism about unbacked trust consume roughly half the text without helping an agent decide or call. Trimming the editorializing would leave a tighter, more useful definition.

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-optional-parameter, read-only listing tool with no output schema, the description covers what the result contains (rules plus their effective surfaces) and how the filters narrow it. Missing only explicit guidance on result size or ordering, which is minor at this complexity.

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 coverage is 100%, so the schema already documents both parameters, including the enum of resources. The description restates the effect of combining role with for_resource ('the effective hidden field list a given role would get on a given resource'), which is nearly identical to the schema text and adds little new meaning. Baseline 3 applies when the schema does the heavy lifting.

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?

The description identifies the resource clearly: 'The field-level rules of this tenant.' It reads more like a noun phrase than a verb, but an agent can infer this is a read of field-permission rules, distinct from the write-oriented sibling set_field_permission. No sibling is named, so differentiation is by implication rather than explicit contrast.

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?

The description explains what the two optional parameters enable (role-only rules, or the effective hidden-field list for a role on a resource), which implies when to reach for them. However, it never states when to use this tool versus set_field_permission or the delete/upsert field tools, and gives no explicit exclusions or prerequisites.

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.