Check a service-grant narrowing
assess_service_grantAssesses whether a narrower service grant is a supported subset of the previous grant and preserves the required service type and name, returning eligibility, refusal, or invalid input.
Instructions
Use when considering a narrower service grant that must preserve one required service request. Assesses whether after is a supported subset of before and still matches required_type and required_name. For an ordered request list, use assess_service_grant_change when available. Domain-invalid facts return INVALID_INPUT; malformed arguments return a tool error with no decision. Supplied facts are not authenticated; no grant or API operation is applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Proposed replacement service-grant pattern, using the same syntax as before. It must be a supported subset and preserve the supplied required request(s) for ELIGIBLE. Do not normalize or repair an unsupported pattern to force eligibility. | |
| before | Yes | Previous service-grant pattern, preserved exactly. Examples: * (all services), mcp://* (all MCP services), or mcp://weather (one service). Supported patterns use ASCII text of at most 128 bytes; paths, queries and fragments are outside this domain. | |
| required_name | Yes | Exact required service name, for example weather, not an individual tool name or a path such as weather/forecast. Supported nonempty names contain ASCII letters, digits, - and _ in nonempty dot-separated labels, at most 128 bytes. Preserve the supplied spelling; Gooo decides domain validity. | |
| required_type | Yes | Exact required service type, for example mcp or http; not a full URI. The supported domain is ASCII, at most 128 bytes, starting with a letter when nonempty, followed by letters, digits, +, - or .; Gooo decides domain validity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | Yes | ||
| bindings | Yes | ||
| decision | Yes |