Skip to main content
Glama

PHP settings

get_php_settings
Read-onlyIdempotent

PHP version of each domain, the versions installed on the server, and the editable php.ini values (memory_limit, upload_max_filesize, max_execution_time...) of a domain.

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": "get_php_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDomain on the account. Defaults to the main domain.
service_idNoId of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / service_id / description
      Previous value: -"Hosting service id from list_services (unique across all the accounts this connection reaches). Optional when there is a single hosting service."New value: +"Id of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description does add real value by disclosing that the response mixes account-level data (installed versions) with domain-level data (per-domain version and editable ini values), which tells the agent the payload is multi-section. It stops short of saying whether the ini values are writable here or only reportable, which would have earned a 4.

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?

One sentence, front-loaded with the primary payload (per-domain PHP version) and closed with a concrete example list that anchors the abstract phrase 'editable php.ini values'. The comma-spliced enumeration of three distinct result categories is slightly loose but costs no extra length.

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 carries the burden of describing return values, and it does so across all three sections of the response. The remaining gap is structural: it doesn't indicate whether these sections are separate keys, and it doesn't clarify the service_id-scoped case, but for a two-optional-parameter read tool this is close to sufficient.

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%, so both domain and service_id are already documented in the schema, including the main-domain default and the list_services dependency. The description adds nothing about parameters beyond the word 'domain', so the baseline 3 applies.

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 names a specific resource and enumerates its contents: per-domain PHP version, server-installed versions, and editable php.ini values with concrete examples (memory_limit, upload_max_filesize, max_execution_time). An agent can distinguish this from get_email_settings or get_dns_zone by resource alone, though the phrasing is a noun list rather than an explicit verb+resource statement.

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?

There is no when-to-use guidance, no mention of prerequisites, and no reference to alternatives or follow-up tools. The only scoping hint is 'of a domain', which is already implied by the domain parameter, so an agent gets no help deciding when this tool is the right call versus inspecting settings elsewhere.

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