{"grant":{"projectId":null,"scopes":["projects"]},"readOnly":false,"notices":["Notice: Write mode active. Destructive tools are exposed. For tools with `destructiveHint: true`, NEVER invoke one autonomously: invoke it only when the user's own message asks for that action and unambiguously identifies its target; otherwise ask first.","Notice: For tools with `project_id`, always pass it on an unscoped connection, even though the published schema marks it optional. A connection scoped to one project supplies it automatically when omitted; an explicit value must match the granted project. A project-scoped connection also hides project management tools such as list_projects and create_project. To change project scope, change or remove the projectId query param in the MCP server URL and reconnect. With OAuth, the project is fixed when the connection is authorized: log out and authorize again, and choose \"All projects you can access\" on the consent page to remove scoping."],"tools":[{"name":"list_organizations","title":"List organizations for the current user","scope":"projects","readOnlySafe":true,"description":"Lists the organizations the user belongs to; an organization API key gets its own organization. search filters by name or id.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"search":{"type":"string","description":"Part of an organization name or id, ignoring case."}},"additionalProperties":false}},{"name":"search","title":"Search Neon resources","scope":"global","readOnlySafe":true,"description":"Finds organizations, projects (including shared ones), branches, computes, and snapshots whose name or id contains query, with ids for fetch. To list projects, use list_projects; for docs, search_docs.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":3,"description":"Part of a name or id, or a compute endpoint host from a connection string."}},"required":["query"],"additionalProperties":false}},{"name":"fetch","title":"Fetch","scope":"global","readOnlySafe":true,"description":"Returns an organization, project, branch, compute, or snapshot by an id from search: markdown text, console URL, and records in metadata.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"id":{"type":"string","minLength":1,"description":"An id from search, such as project:<project_id>."}},"required":["id"],"additionalProperties":false}},{"name":"send_feedback","title":"Send Feedback","scope":"global","readOnlySafe":true,"description":"Sends anonymous feedback text to the Neon team, with no account, project, or connection details. Only call it when the user asks to give feedback.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"feedback":{"type":"string","minLength":1,"maxLength":10000,"description":"The feedback to send to Neon. Do not include passwords, API keys, connection strings, or other secrets."}},"required":["feedback"],"additionalProperties":false}},{"name":"list_incidents","title":"List Neon incidents","scope":"global","readOnlySafe":true,"description":"Lists open Neon incidents and maintenance from neonstatus.com and the affected components and regions. Needs no credentials. Fetches the page on every call; updated_at is when neonstatus.com last updated the overall status, not when this call fetched it. Call it when Neon requests fail unexpectedly or the user asks whether Neon is down.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"additionalProperties":false}},{"name":"list_projects","title":"List projects","scope":"projects","readOnlySafe":true,"description":"Lists the projects in an organization; search filters by name or id. To also find branches, computes, or snapshots, use search. Returns every page. Pass limit to cap how many. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":400,"description":"Specify a value from 1 to 400 to limit number of projects in the response."},"search":{"type":"string","description":"Search by project `name` or `id`."},"org_id":{"description":"Organization id from list_organizations; required with a personal API key.","type":"string","pattern":"^[a-z0-9-]{1,60}$"},"timeout":{"type":"integer","minimum":100,"maximum":30000,"description":"Specify an explicit timeout in milliseconds to limit response delay."},"recoverable":{"type":"boolean","description":"Show only deleted projects within the recovery window."}},"additionalProperties":false}},{"name":"count_projects","title":"Retrieve projects count","scope":"projects","readOnlySafe":true,"description":"Counts an organization's active projects without listing them; ones being created or deleted are not counted. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"org_id":{"description":"Organization id from list_organizations; required with a personal API key.","type":"string","pattern":"^[a-z0-9-]{1,60}$"}},"additionalProperties":false}},{"name":"describe_project","title":"Retrieve project details","scope":"projects","readOnlySafe":true,"description":"Gets a project's settings, owner, and usage. For branches, use list_branches.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"}},"additionalProperties":false}},{"name":"create_project","title":"Create project","scope":"projects","readOnlySafe":false,"description":"Creates a project with a default branch and read-write compute and waits until it is ready. Returns no connection string; use get_connection_string. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"settings":{"type":"object","properties":{"quota":{"type":"object","properties":{"active_time_seconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The total amount of wall-clock time allowed to be spent by the project's compute endpoints."},"compute_time_seconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The total amount of CPU seconds allowed to be spent by the project's compute endpoints."},"written_data_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total amount of data written to all of a project's branches."},"data_transfer_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total amount of data transferred from all of a project's branches using the proxy."},"logical_size_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Limit on the logical size of every project's branch."}},"additionalProperties":false,"description":"Per-project consumption quotas."},"allowed_ips":{"type":"object","properties":{"ips":{"type":"array","items":{"type":"string"},"description":"A list of IP addresses that are allowed to connect to the endpoint."},"protected_branches_only":{"type":"boolean","description":"If true, the list will be applied only to protected branches."}},"additionalProperties":false,"description":"A list of IP addresses that are allowed to connect to the compute endpoint."},"enable_logical_replication":{"type":"boolean","description":"Sets wal_level=logical for all compute endpoints in this project."},"maintenance_window":{"type":"object","properties":{"weekdays":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"A list of weekdays when the maintenance window is active."},"start_time":{"type":"string","description":"Start time of the maintenance window, in the format of \"HH:MM\"."},"end_time":{"type":"string","description":"End time of the maintenance window, in the format of \"HH:MM\"."}},"required":["weekdays","start_time","end_time"],"additionalProperties":false,"description":"A maintenance window is a time period during which Neon may perform maintenance on the project's infrastructure."},"block_public_connections":{"type":"boolean","description":"When set, connections from the public internet are disallowed."},"block_vpc_connections":{"type":"boolean","description":"When set, connections using VPC endpoints are disallowed."},"audit_log_level":{"type":"string","enum":["base","extended","full"]},"hipaa":{"type":"boolean","description":"Enables HIPAA compliance mode for the project, including audit logging."},"preload_libraries":{"type":"object","properties":{"use_defaults":{"type":"boolean","description":"When true, the project's preload libraries include the platform default set in addition to any libraries listed in `enabled_libraries`."},"enabled_libraries":{"type":"array","items":{"type":"string"},"description":"Names of shared preload libraries to enable for the project."}},"additionalProperties":false,"description":"The shared libraries to preload into the project's compute instances."}},"additionalProperties":false,"description":"Project-level settings applied at creation."},"name":{"type":"string","minLength":1,"maxLength":256,"description":"The project name."},"realtime":{"type":"object","properties":{"allowed_origins":{"maxItems":16,"type":"array","items":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^(\\*|https?:\\/\\/[^\\/?#@,*\\s]+)$"},"description":"The browser origins allowed to connect, each `http` or `https` with a host and optional port and no path."}},"additionalProperties":false,"description":"Enable Realtime for the default branch with these options."},"branch":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256,"description":"The default branch name."},"role_name":{"type":"string","description":"The role name."},"database_name":{"type":"string","description":"The database name."},"annotations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Arbitrary key-value metadata to attach to the branch."}},"additionalProperties":false,"description":"Configuration for the initial branch created with the project."},"autoscaling_limit_min_cu":{"type":"number","minimum":0.25,"description":"Deprecated. Use `default_endpoint_settings.autoscaling_limit_min_cu` instead."},"autoscaling_limit_max_cu":{"type":"number","minimum":0.25,"description":"Deprecated. Use `default_endpoint_settings.autoscaling_limit_max_cu` instead."},"provisioner":{"type":"string","description":"Compute provisioner."},"region_id":{"type":"string","description":"The region identifier."},"default_endpoint_settings":{"type":"object","properties":{"pg_settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"A raw representation of Postgres settings"},"pgbouncer_settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Deprecated. Use the endpoint-level connection pooler configuration instead."},"autoscaling_limit_min_cu":{"type":"number","minimum":0.25,"description":"Minimum number of Compute Units for this endpoint."},"autoscaling_limit_max_cu":{"type":"number","minimum":0.25,"description":"Default maximum number of Compute Units for endpoints created under this account."},"suspend_timeout_seconds":{"type":"integer","minimum":-1,"maximum":604800,"description":"Scale-to-zero idle timeout, in seconds, before the compute suspends."}},"additionalProperties":false,"description":"A collection of settings for a Neon endpoint"},"pg_version":{"type":"integer","minimum":14,"maximum":19,"description":"The major Postgres version number."},"store_passwords":{"type":"boolean","description":"Whether or not passwords are stored for roles in the Neon project."},"history_retention_seconds":{"type":"integer","minimum":0,"maximum":2592000,"description":"History window (point-in-time restore range) for all branches, in seconds."},"org_id":{"type":"string","pattern":"^[a-z0-9-]{1,60}$","description":"ID of the organization that will own the project."}},"additionalProperties":false}},{"name":"update_project","title":"Update project","scope":"projects","readOnlySafe":false,"description":"Updates a project's name, settings, default compute settings, or history retention.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"},"settings":{"type":"object","properties":{"quota":{"type":"object","properties":{"active_time_seconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The total amount of wall-clock time allowed to be spent by the project's compute endpoints."},"compute_time_seconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The total amount of CPU seconds allowed to be spent by the project's compute endpoints."},"written_data_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total amount of data written to all of a project's branches."},"data_transfer_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total amount of data transferred from all of a project's branches using the proxy."},"logical_size_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Limit on the logical size of every project's branch."}},"additionalProperties":false,"description":"Per-project consumption quotas."},"allowed_ips":{"type":"object","properties":{"ips":{"type":"array","items":{"type":"string"},"description":"A list of IP addresses that are allowed to connect to the endpoint."},"protected_branches_only":{"type":"boolean","description":"If true, the list will be applied only to protected branches."}},"additionalProperties":false,"description":"A list of IP addresses that are allowed to connect to the compute endpoint."},"enable_logical_replication":{"type":"boolean","description":"Sets wal_level=logical for all compute endpoints in this project."},"maintenance_window":{"type":"object","properties":{"weekdays":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"A list of weekdays when the maintenance window is active."},"start_time":{"type":"string","description":"Start time of the maintenance window, in the format of \"HH:MM\"."},"end_time":{"type":"string","description":"End time of the maintenance window, in the format of \"HH:MM\"."}},"required":["weekdays","start_time","end_time"],"additionalProperties":false,"description":"A maintenance window is a time period during which Neon may perform maintenance on the project's infrastructure."},"block_public_connections":{"type":"boolean","description":"When set, connections from the public internet are disallowed."},"block_vpc_connections":{"type":"boolean","description":"When set, connections using VPC endpoints are disallowed."},"audit_log_level":{"type":"string","enum":["base","extended","full"]},"hipaa":{"type":"boolean","description":"Enables HIPAA compliance mode for the project, including audit logging."},"preload_libraries":{"type":"object","properties":{"use_defaults":{"type":"boolean","description":"When true, the project's preload libraries include the platform default set in addition to any libraries listed in `enabled_libraries`."},"enabled_libraries":{"type":"array","items":{"type":"string"},"description":"Names of shared preload libraries to enable for the project."}},"additionalProperties":false,"description":"The shared libraries to preload into the project's compute instances."}},"additionalProperties":false,"description":"Project-level settings, for example `quota`, `allowed_ips`, `enable_logical_replication`, and `maintenance_window`."},"name":{"type":"string","minLength":1,"maxLength":256,"description":"The project name"},"default_endpoint_settings":{"type":"object","properties":{"pg_settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"A raw representation of Postgres settings"},"pgbouncer_settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Deprecated. Use the endpoint-level connection pooler configuration instead."},"autoscaling_limit_min_cu":{"type":"number","minimum":0.25,"description":"Minimum number of Compute Units for this endpoint."},"autoscaling_limit_max_cu":{"type":"number","minimum":0.25,"description":"Default maximum number of Compute Units for endpoints created under this account."},"suspend_timeout_seconds":{"type":"integer","minimum":-1,"maximum":604800,"description":"Scale-to-zero idle timeout, in seconds, before the compute suspends."}},"additionalProperties":false,"description":"A collection of settings for a Neon endpoint"},"history_retention_seconds":{"type":"integer","minimum":0,"maximum":2592000,"description":"History window (point-in-time restore range) for all branches, in seconds."}},"additionalProperties":false}},{"name":"delete_project","title":"Delete project","scope":"projects","readOnlySafe":false,"description":"Deletes a project with all its branches, computes, databases, and roles. NEVER run autonomously: run it only when the user's own message asks for it and unambiguously identifies its target; otherwise ask first. recover_project undoes it within 7 days. For one branch, use delete_branch.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"type":"string","pattern":"^[a-z0-9-]{1,60}$","description":"Project id."}},"required":["project_id"],"additionalProperties":false}},{"name":"recover_project","title":"Recover a deleted project","scope":"projects","readOnlySafe":false,"description":"Recovers a project deleted in the last 7 days; list_projects with recoverable true finds them. Some integrations need setting up again.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"}},"additionalProperties":false}},{"name":"list_project_permissions","title":"List project access","scope":"projects","readOnlySafe":true,"description":"Lists who has access to a project: each permission id, email, and grant date.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"}},"additionalProperties":false}},{"name":"list_project_members","title":"List org members and their project roles","scope":"projects","readOnlySafe":true,"description":"Lists organization members and their roles on an org-owned project; 404 when the project is not org-owned or per-project roles are off. Returns every page. Pass limit to cap how many.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"The maximum number of members to return in the response"}},"additionalProperties":false}},{"name":"list_regions","title":"List regions","scope":"projects","readOnlySafe":true,"description":"Lists the regions you can create projects in. An organization API key gets 404.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"additionalProperties":false}},{"name":"list_operations","title":"List operations","scope":"projects","readOnlySafe":true,"description":"Lists a project's operations; ones older than six months may be gone. Returns every page. Pass limit to cap how many.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"Specify a value from 1 to 1000 to limit number of operations in the response"}},"additionalProperties":false}},{"name":"get_operation","title":"Retrieve operation details","scope":"projects","readOnlySafe":true,"description":"Gets one operation and its status.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"project_id":{"description":"Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.","type":"string","pattern":"^[a-z0-9-]{1,60}$"},"operation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The operation ID"}},"required":["operation_id"],"additionalProperties":false}},{"name":"get_project_consumption","title":"Retrieve project consumption metrics","scope":"projects","readOnlySafe":true,"description":"Returns per-project consumption in an organization. metrics: every name get_branch_consumption takes, plus extra_branches_month and snapshot_storage_bytes_month. Launch, Scale, Agent, Business, or Enterprise plans; others get 403. Returns every page. Pass limit to cap how many.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of projects per page."},"project_ids":{"description":"Up to 100 project ids. Omit for every project with history in the organization, including deleted ones.","minItems":0,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^([a-z0-9-]{1,60}(,[a-z0-9-]{1,60}){0,99})?$"}},"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Period start, rounded to granularity."},"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Period end, rounded to granularity."},"granularity":{"type":"string","enum":["hourly","daily","monthly"],"description":"hourly reaches back 168 hours, daily 60 days, monthly one year."},"org_id":{"type":"string","pattern":"^[a-z0-9-]{1,60}$","description":"Organization id from list_organizations."},"metrics":{"type":"array","items":{"type":"string"},"description":"Metric names from the tool description. An unknown name returns no data rather than an error."}},"required":["from","to","granularity","org_id","metrics"],"additionalProperties":false}},{"name":"get_branch_consumption","title":"Retrieve branch consumption metrics","scope":"projects","readOnlySafe":true,"description":"Returns per-branch consumption for project_ids. metrics: compute_unit_seconds, root_branch_bytes_month, child_branch_bytes_month, instant_restore_bytes_month, public_network_transfer_bytes, private_network_transfer_bytes, functions_active_capacity_microseconds, functions_waiting_capacity_microseconds, functions_invocations, functions_egress_bytes. Usage-based Launch, Scale, Agent, or Enterprise plans only. Returns every page. Pass limit to cap how many.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"Maximum number of branches per page."},"project_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^([a-z0-9-]{1,60}(,[a-z0-9-]{1,60}){0,99})?$"},"description":"Project IDs to include (required, 1 to 100)."},"branch_ids":{"minItems":0,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^([a-z0-9-]{1,60}(,[a-z0-9-]{1,60}){0,99})?$"},"description":"Optional branch IDs to filter the response (up to 100)."},"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Period start, rounded to granularity."},"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Period end, rounded to granularity."},"granularity":{"type":"string","enum":["hourly","daily","monthly"],"description":"hourly reaches back 168 hours, daily 60 days, monthly one year."},"org_id":{"type":"string","pattern":"^[a-z0-9-]{1,60}$","description":"Organization id from list_organizations."},"metrics":{"type":"array","items":{"type":"string"},"description":"Metric names from the tool description; any other returns HTTP 400. extra_branches_month and snapshot_storage_bytes_month are only on get_project_consumption."}},"required":["project_ids","from","to","granularity","org_id","metrics"],"additionalProperties":false}}]}